Created
January 16, 2017 17:46
-
-
Save mattjcowan/21e915013215d02e3bfc9087bb30b4c0 to your computer and use it in GitHub Desktop.
letsencrypt .well-known acme-challenge (static file issue resolved when using ServiceStack)
This file contains 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> | |
<!-- PUT THIS FILE INSIDE THE .well-known directory to re-instate static file recognition --> | |
<system.webServer> | |
<staticContent> | |
<mimeMap fileExtension = ".*" mimeType="text/json" /> | |
</staticContent> | |
<handlers> | |
<clear /> | |
<add name="StaticFile" path="*." verb="*" type="" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" scriptProcessor="" resourceType="Either" requireAccess="Read" allowPathInfo="false" preCondition="" responseBufferLimit="4194304" /> | |
</handlers> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment