Increase HSTS max-age to default to one year (#10564)
This commit is contained in:
parent
7e7001d2a0
commit
8c3aeaae4a
5 changed files with 5 additions and 5 deletions
|
|
@ -47,7 +47,7 @@ http {
|
|||
listen_ports = { ssl_proxy = "442", https = "443" },
|
||||
|
||||
hsts = true,
|
||||
hsts_max_age = 15724800,
|
||||
hsts_max_age = 31536000,
|
||||
hsts_include_subdomains = true,
|
||||
hsts_preload = false,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ lua_shared_dict ocsp_response_cache 5M;
|
|||
listen_ports = { ssl_proxy = "442", https = "443" },
|
||||
|
||||
hsts = true,
|
||||
hsts_max_age = 15724800,
|
||||
hsts_max_age = 31536000,
|
||||
hsts_include_subdomains = true,
|
||||
hsts_preload = false,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
"gzipTypes": "application/atom+xml application/javascript application/x-javascript application/json application/rss+xml application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/svg+xml image/x-icon text/css text/javascript text/plain text/x-component",
|
||||
"hsts": true,
|
||||
"hstsIncludeSubdomains": true,
|
||||
"hstsMaxAge": "15724800",
|
||||
"hstsMaxAge": "31536000",
|
||||
"keepAlive": 75,
|
||||
"mapHashBucketSize": 64,
|
||||
"maxWorkerConnections": 16384,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue