diff options
| author | Marcin Zelent <zelent.marcin@gmail.com> | 2017-11-27 11:19:54 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-27 11:19:54 +0100 | 
| commit | 56cb58fdabf883a5641bfdb7d897f7b7dde2eb74 (patch) | |
| tree | 5261b0afebcc9fb7e630c8664acceaaa8f1ea164 | |
| parent | d72d8773981d96f148288993a3c03f8915b75871 (diff) | |
Update 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> |