diff --git a/eiblog.conf b/eiblog.conf index 18ce89e..6f52fca 100644 --- a/eiblog.conf +++ b/eiblog.conf @@ -41,7 +41,7 @@ server { # https://weakdh.org/sysadmin.html ssl_dhparam /etc/nginx/ssl/dhparams.pem; - ssl_protocols TLSv1 TLSv1.1 TLSv1.2; + ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3; ssl_session_cache shared:SSL:50m; ssl_session_timeout 1d; ssl_session_tickets on; @@ -57,7 +57,7 @@ server { } # webmaster 站点验证相关. - location ~* (google4c90d18e696bdcf8\.html|BingSiteAuth\.xml|ads\.txt|favicon\.ico)$ { + location ~* (favicon\.ico|google4c90d18e696bdcf8\.html|BingSiteAuth\.xml|ads\.txt)$ { root /usr/share/nginx/html; expires 1d; } @@ -82,7 +82,7 @@ server { add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; add_header X-Via Aliyun.QingDao; - add_header X-Powered-By eiblog/1.3.0; + add_header X-Powered-By eiblog/2.x; proxy_pass http://127.0.0.1:9000; } @@ -99,7 +99,7 @@ server { add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; add_header X-Via Aliyun.QingDao; - add_header X-Powered-By eiblog/1.3.0; + add_header X-Powered-By eiblog/2.x; proxy_pass http://127.0.0.1:9000; }