aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web.config')
-rw-r--r--web.config7
1 files changed, 7 insertions, 0 deletions
diff --git a/web.config b/web.config
index 3465890..a46cca3 100644
--- a/web.config
+++ b/web.config
@@ -22,6 +22,13 @@
</conditions>
<action type="Rewrite" url="web/app.php/{R:0}" />
</rule>
+ <rule name="Redirect to https">
+ <match url="(.*)"/>
+ <conditions>
+ <add input="{HTTPS}" pattern="Off"/>
+ </conditions>
+ <action type="Redirect" url="https://{HTTP_HOST}/{R:1}"/>
+ </rule>
</rules>
</rewrite>
</system.webServer>