chore: update eiblog.conf

This commit is contained in:
deepzz0
2021-05-06 09:07:27 +08:00
parent a407bdfe72
commit 3527e11b04
2 changed files with 16 additions and 3 deletions

View File

@@ -1,3 +1,17 @@
tcp_nopush on;
tcp_nodelay on;
# gzip
gzip on;
gzip_vary on;
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_min_length 1000;
gzip_proxied any;
gzip_disable "msie6";
gzip_http_version 1.0;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript image/svg+xml;
server {
server_name www.deepzz.com deepzz.com;
server_tokens off;
@@ -33,9 +47,8 @@ server {
ssl_session_tickets on;
# 中间证书 + 根证书.
# https://imququ.com/post/why-can-not-turn-on-ocsp-stapling.html
# OCSP装订: https://imququ.com/post/why-can-not-turn-on-ocsp-stapling.html
ssl_trusted_certificate /etc/nginx/ssl/full_chained.pem;
# ssl stapling
ssl_stapling on;
ssl_stapling_verify on;