mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-27 05:51:02 +00:00
Merge pull request #279 from PhieF/patch-1
Apache config wasn't working
This commit is contained in:
commit
630ad0920d
1 changed files with 2 additions and 2 deletions
|
@ -301,13 +301,14 @@ If you prefer Apache, you can use this configuration (here too, replace `blog.ex
|
||||||
ServerName blog.example.com
|
ServerName blog.example.com
|
||||||
Redirect / https://blog.example.com/
|
Redirect / https://blog.example.com/
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
SSLStaplingCache "shmcb:logs/stapling-cache(150000)"
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
ServerAdmin admin@example.com
|
ServerAdmin admin@example.com
|
||||||
ServerName blog.example.com
|
ServerName blog.example.com
|
||||||
<Directory "/home/plume/Plume">
|
<Directory "/home/plume/Plume">
|
||||||
Header always set Referrer-Policy "strict-origin-when-cross-origin"
|
Header always set Referrer-Policy "strict-origin-when-cross-origin"
|
||||||
Header always set Strict-Transport-Security "max-age=31536000"
|
Header always set Strict-Transport-Security "max-age=31536000"
|
||||||
|
</Directory>
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
|
|
||||||
# for cipher conf: https://cipherli.st/
|
# for cipher conf: https://cipherli.st/
|
||||||
|
@ -319,7 +320,6 @@ If you prefer Apache, you can use this configuration (here too, replace `blog.ex
|
||||||
Header always set X-Content-Type-Options nosniff
|
Header always set X-Content-Type-Options nosniff
|
||||||
SSLCompression off
|
SSLCompression off
|
||||||
SSLUseStapling on
|
SSLUseStapling on
|
||||||
SSLStaplingCache "shmcb:logs/stapling-cache(150000)"
|
|
||||||
|
|
||||||
# Requires Apache >= 2.4.11
|
# Requires Apache >= 2.4.11
|
||||||
SSLSessionTickets Off
|
SSLSessionTickets Off
|
||||||
|
|
Loading…
Reference in a new issue