Skip to content

Instantly share code, notes, and snippets.

@shibayan
Last active November 16, 2016 19:26
Show Gist options
  • Save shibayan/9579313 to your computer and use it in GitHub Desktop.
Save shibayan/9579313 to your computer and use it in GitHub Desktop.
Web.config for Ruby on Rails Azure Web Sites
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="httpPlatformHandlerMain" modules="httpPlatformHandler" path="*" verb="*" resourceType="Unspecified" />
</handlers>
<httpPlatform processPath="%RUBY_HOME%\bin\ruby.exe" arguments="%RUBY_HOME%\bin\thin -e production -p %HTTP_PLATFORM_PORT% -c '%RAILS_ROOT%' start" startupTimeLimit="60" startupRetryCount="5" />
</system.webServer>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment