aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Zelent <zelent.marcin@gmail.com>2017-11-27 11:19:54 +0100
committerGitHub <noreply@github.com>2017-11-27 11:19:54 +0100
commit56cb58fdabf883a5641bfdb7d897f7b7dde2eb74 (patch)
tree5261b0afebcc9fb7e630c8664acceaaa8f1ea164
parentd72d8773981d96f148288993a3c03f8915b75871 (diff)
Update 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>