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:
parent
20e9d13b21
commit
d34ec0cde0
@ -89,9 +89,7 @@ RewriteRule ^ %1%3%{REQUEST_URI} [R=301,L]
|
|||||||
|
|
||||||
### Force HTTPS
|
### Force HTTPS
|
||||||
``` apacheconf
|
``` apacheconf
|
||||||
RewriteEngine on
|
Header always set Strict-Transport-Security "max-age=604800; includeSubDomains"
|
||||||
RewriteCond %{HTTPS} !on
|
|
||||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Force HTTPS Behind a Proxy
|
### Force HTTPS Behind a Proxy
|
||||||
|
Loading…
Reference in New Issue
Block a user