Update nginx.conf

This commit is contained in:
OnlyCharacter 2021-01-14 20:36:52 +08:00 committed by GitHub
parent 3c5ff2e92b
commit a0449a8d24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ http {
include /etc/nginx/default.d/*.conf; include /etc/nginx/default.d/*.conf;
# 开启HSTS混sslab的A+ # 开启 HSTS ,混 sslab A+
add_header Strict-Transport-Security "max-age=63072000" always; add_header Strict-Transport-Security "max-age=63072000" always;
error_page 404 /404.html; error_page 404 /404.html;