Update nginx.conf

This commit is contained in:
OnlyCharacter 2021-01-12 23:36:23 +08:00 committed by GitHub
parent 6884479923
commit c3ed7de366
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,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;
location = /40x.html { location = /40x.html {