We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de72a0d commit 0ee3ea4Copy full SHA for 0ee3ea4
web.config
@@ -16,6 +16,17 @@
16
</handlers>
17
<rewrite>
18
<rules>
19
+ <!-- https redirect -->
20
+ <rule name="Redirect to HTTPS">
21
+ <match url="(.*)" />
22
+ <conditions>
23
+ <add input="{HTTPS}" pattern="off" ignoreCase="true" />
24
+ <add input="{URL}" pattern="/$" negate="true" />
25
+ <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
26
+ </conditions>
27
+ <action type="Redirect" url="https://{SERVER_NAME}/{R:1}" redirectType="SeeOther" />
28
+ </rule>
29
+
30
<!-- Do not interfere with requests for node-inspector debugging -->
31
<rule name="NodeInspector" patternSyntax="ECMAScript" stopProcessing="true">
32
<match url="^server.js\/debug[\/]?" />
0 commit comments