Merge pull request #279 from PhieF/patch-1

Apache config wasn't working
This commit is contained in:
Baptiste Gelez 2018-10-18 19:21:09 +01:00 committed by GitHub
commit 630ad0920d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -301,13 +301,14 @@ If you prefer Apache, you can use this configuration (here too, replace `blog.ex
ServerName blog.example.com
Redirect / https://blog.example.com/
</VirtualHost>
SSLStaplingCache "shmcb:logs/stapling-cache(150000)"
<VirtualHost *:443>
ServerAdmin admin@example.com
ServerName blog.example.com
<Directory "/home/plume/Plume">
Header always set Referrer-Policy "strict-origin-when-cross-origin"
Header always set Strict-Transport-Security "max-age=31536000"
</Directory>
SSLEngine on
# 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
SSLCompression off
SSLUseStapling on
SSLStaplingCache "shmcb:logs/stapling-cache(150000)"
# Requires Apache >= 2.4.11
SSLSessionTickets Off