Created
May 11, 2014 22:41
-
-
Save JuanKRuiz/cf15fc0af43a597eda81 to your computer and use it in GitHub Desktop.
New web.config for ghost
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> | |
<webSocket enabled="false" /> | |
<handlers> | |
<add name="iisnode" path="index.js" verb="*" modules="iisnode"/> | |
</handlers> | |
<rewrite> | |
<rules> | |
<rule name="StaticContent"> | |
<action type="Rewrite" url="public{REQUEST_URI}"/> | |
</rule> | |
<rule name="DynamicContent"> | |
<conditions> | |
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="True"/> | |
</conditions> | |
<action type="Rewrite" url="index.js"/> | |
</rule> | |
</rules> | |
</rewrite> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment