Skip to content

Instantly share code, notes, and snippets.

@shibayan
Created May 13, 2021 07:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shibayan/4a3aeb05ec1c9fd260cc5977883d6178 to your computer and use it in GitHub Desktop.
Save shibayan/4a3aeb05ec1c9fd260cc5977883d6178 to your computer and use it in GitHub Desktop.
HttpPlatformHandler configuration for nuxt app
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="httpPlatformHandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" />
</handlers>
<httpPlatform processPath="node" arguments="./node_modules/nuxt/bin/nuxt.js start">
<environmentVariables>
<environmentVariable name="PORT" value="%HTTP_PLATFORM_PORT%" />
</environmentVariables>
</httpPlatform>
</system.webServer>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment