瀏覽代碼

installation/pleroma-apache.conf: OCSP stapling needs to be outside of the virtualhost directive

tags/v0.9.9
shibayashi 5 年之前
父節點
當前提交
8a4e2f48bf
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: C10662A33EB28508
共有 1 個檔案被更改,包括 6 行新增6 行删除
  1. +6
    -6
      installation/pleroma-apache.conf

+ 6
- 6
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)

Loading…
取消
儲存