Skip to content

Instantly share code, notes, and snippets.

@peterkeating
Created October 5, 2012 15:10
Show Gist options
  • Select an option

  • Save peterkeating/3840393 to your computer and use it in GitHub Desktop.

Select an option

Save peterkeating/3840393 to your computer and use it in GitHub Desktop.
Web.config to be used in Nancy project to define that a directory contains static content.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<httpHandlers>
<remove verb="*" path="*"/>
</httpHandlers>
</system.web>
<system.webServer>
<handlers>
<remove name="Nancy" />
</handlers>
</system.webServer>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment