2
0
mirror of https://github.com/phanan/htaccess.git synced 2018-11-08 13:39:40 +01:00

Update README.md

Something like this.
This commit is contained in:
Anton Medvedev 2015-02-25 16:22:40 +03:00
parent 20e9d13b21
commit d34ec0cde0

View File

@ -89,9 +89,7 @@ RewriteRule ^ %1%3%{REQUEST_URI} [R=301,L]
### Force HTTPS
``` apacheconf
RewriteEngine on
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Header always set Strict-Transport-Security "max-age=604800; includeSubDomains"
```
### Force HTTPS Behind a Proxy