mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-16 16:00:17 +02:00
Move SSL header instructions to SSL block
This commit is contained in:
parent
d2666f2440
commit
36e382fadb
@ -57,13 +57,13 @@ Place your virtual host configuration in the appropriate section within `/etc/ht
|
|||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
```
|
```
|
||||||
|
|
||||||
If you use SSL, add the following lines inside the `VirtualHost` block:
|
## SSL
|
||||||
|
|
||||||
|
It's 2018 - there's no reason to run a site without SSL. The EFF provides free, renewable SSL certificates with an automated installer. Visit their [website](https://certbot.eff.org/) for information.
|
||||||
|
|
||||||
|
After acquiring SSL the config file needs to be adjusted. Add the following lines inside the `<VirtualHost>` block:
|
||||||
|
|
||||||
```
|
```
|
||||||
RequestHeader set X-FORWARDED-PROTOCOL https
|
RequestHeader set X-FORWARDED-PROTOCOL https
|
||||||
RequestHeader set X-FORWARDED-SSL On
|
RequestHeader set X-FORWARDED-SSL On
|
||||||
```
|
```
|
||||||
|
|
||||||
## SSL
|
|
||||||
|
|
||||||
It's 2018 - there's no reason to run a site without SSL. The EFF provides free, renewable SSL certificates with an automated installer. Visit their [website](https://certbot.eff.org/) for information.
|
|
Loading…
x
Reference in New Issue
Block a user