diff options
Diffstat (limited to 'web.config')
-rw-r--r-- | web.config | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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> |