mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-14 10:22:26 +08:00
chore: update eiblog.conf
This commit is contained in:
17
eiblog.conf
17
eiblog.conf
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user