Created
August 15, 2016 02:59
-
-
Save ClaytonPeddy/2530e7e5fbb7c0be124bf77c7dfeeaa8 to your computer and use it in GitHub Desktop.
Play Framework on Azure App Service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<handlers> | |
<add name="httpPlatformHandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" /> | |
</handlers> | |
<httpPlatform processPath="%HOME%\site\wwwroot\bin\play.bat" | |
arguments="-Dhttp.port=%HTTP_PLATFORM_PORT% -Dconfig.file=%HOME%\site\wwwroot\conf\application.conf -Dlogger.resource=logback.xml -Dpidfile.path=/dev/null" | |
startupRetryCount="1" | |
stdoutLogEnabled="true" | |
startupTimeLimit="60"> | |
<environmentVariables> | |
<environmentVariable name="JAVA_OPTS" value="-Djava.net.preferIPv4Stack=true -server" /> | |
</environmentVariables> | |
</httpPlatform> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Play Framework on Azure App Service
This is a typcial web.config file for running a Play Framework application on Azure App Service. Play can run natively, without the use of a application server such as Tomcat.