Prod build process
This commit is contained in:
+10
-11
@@ -2,18 +2,17 @@
|
||||
<configuration>
|
||||
<system.webServer>
|
||||
<handlers>
|
||||
<!-- This handler is a reverse proxy that forwards all requests to the application process -->
|
||||
<add name="httpplatformhandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" requireAccess="Script" />
|
||||
<add name="httpplatformhandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" />
|
||||
</handlers>
|
||||
<httpPlatform
|
||||
stdoutLogEnabled="true"
|
||||
stdoutLogFile=".\logs\stdout.log"
|
||||
startupTimeLimit="200"
|
||||
processPath="C:\Ruby32-x64\bin\ruby.exe"
|
||||
arguments=""C:\Ruby34-x64\lib\ruby\gems\3.4.0\gems\puma-6.6.1" -p 3002 -w 0"
|
||||
>
|
||||
<!-- Environment variable to ensure the application listens on the port provided by IIS -->
|
||||
<environmentVariables />
|
||||
<httpPlatform processPath="cmd.exe"
|
||||
arguments="/c start_rails.bat"
|
||||
stdoutLogEnabled="true"
|
||||
stdoutLogFile=".\log\stdout.log"
|
||||
startupTimeLimit="200">
|
||||
<environmentVariables>
|
||||
<environmentVariable name="RAILS_ENV" value="production" />
|
||||
<environmentVariable name="RAILS_SERVE_STATIC_FILES" value="true" />
|
||||
</environmentVariables>
|
||||
</httpPlatform>
|
||||
</system.webServer>
|
||||
</configuration>
|
||||
|
||||
Reference in New Issue
Block a user