mirror of
https://github.com/phanan/htaccess.git
synced 2018-11-08 13:39:40 +01:00
Added "a"article in proxy title
This commit is contained in:
parent
a4652d9528
commit
67cef224fa
@ -11,7 +11,7 @@ A collection of useful .htaccess snippets, all in one place. I decided to create
|
|||||||
- [Force www in a Generic Way](#force-www-in-a-generic-way)
|
- [Force www in a Generic Way](#force-www-in-a-generic-way)
|
||||||
- [Force non-www](#force-non-www)
|
- [Force non-www](#force-non-www)
|
||||||
- [Force HTTPS](#force-https)
|
- [Force HTTPS](#force-https)
|
||||||
- [Force HTTPS Behind Proxy](#force-https-behind-proxy)
|
- [Force HTTPS Behind a Proxy](#force-https-behind-a-proxy)
|
||||||
- [Force Trailing Slash](#force-trailing-slash)
|
- [Force Trailing Slash](#force-trailing-slash)
|
||||||
- [Redirect a Single Page](#redirect-a-single-page)
|
- [Redirect a Single Page](#redirect-a-single-page)
|
||||||
- [Redirect an Entire Site](#redirect-an-entire-site)
|
- [Redirect an Entire Site](#redirect-an-entire-site)
|
||||||
@ -70,7 +70,7 @@ RewriteCond %{HTTPS} !on
|
|||||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
|
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Force HTTPS Behind Proxy
|
### Force HTTPS Behind a Proxy
|
||||||
Useful if you have a proxy in front of your server performing TLS termination.
|
Useful if you have a proxy in front of your server performing TLS termination.
|
||||||
``` apacheconf
|
``` apacheconf
|
||||||
RewriteCond %{HTTP:X-Forwarded-Proto} !https
|
RewriteCond %{HTTP:X-Forwarded-Proto} !https
|
||||||
|
Loading…
Reference in New Issue
Block a user