summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshibayashi <shibayashi@cypherpunk.observer>2018-09-03 21:41:21 +0200
committershibayashi <shibayashi@cypherpunk.observer>2018-09-03 21:41:21 +0200
commit8a4e2f48bfd2fec64eeebbeb7f05f80d23e9bd47 (patch)
treec8ca461dbd8936dd00287def574b9070d35a71a2
parentd027c53d75dd87eab207bef30f96b2a1f6b5dba0 (diff)
downloadpleroma-8a4e2f48bfd2fec64eeebbeb7f05f80d23e9bd47.tar.gz
pleroma-8a4e2f48bfd2fec64eeebbeb7f05f80d23e9bd47.zip
installation/pleroma-apache.conf: OCSP stapling needs to be outside of the virtualhost directive
-rw-r--r--installation/pleroma-apache.conf12
1 files changed, 6 insertions, 6 deletions
diff --git a/installation/pleroma-apache.conf b/installation/pleroma-apache.conf
index c70d52138..992c0c900 100644
--- a/installation/pleroma-apache.conf
+++ b/installation/pleroma-apache.conf
@@ -27,12 +27,6 @@ CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLCompression off
SSLSessionTickets off
- # OCSP Stapling, only in httpd 2.3.3 and later
- SSLUseStapling on
- SSLStaplingResponderTimeout 5
- SSLStaplingReturnResponderErrors off
- SSLStaplingCache shmcb:/var/run/ocsp(128000)
-
Header always set X-Xss-Protection "1; mode=block"
Header always set X-Frame-Options "DENY"
Header always set X-Content-Type-Options "nosniff"
@@ -54,3 +48,9 @@ CustomLog ${APACHE_LOG_DIR}/access.log combined
RequestHeader set Host "pleroma.example.com"
ProxyPreserveHost On
</VirtualHost>
+
+# OCSP Stapling, only in httpd 2.3.3 and later
+SSLUseStapling on
+SSLStaplingResponderTimeout 5
+SSLStaplingReturnResponderErrors off
+SSLStaplingCache shmcb:/var/run/ocsp(128000) \ No newline at end of file