Skip to content

Commit 7c1b0bc

Browse files
committed
Enable STS only for main domain name, not for all subdomains
1 parent df56c7e commit 7c1b0bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install/deb/nginx/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ http {
116116
ssl_stapling_verify on;
117117
resolver 1.0.0.1 1.1.1.1 valid=300s;
118118
resolver_timeout 5s;
119-
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
119+
add_header Strict-Transport-Security "max-age=31536000";
120120
add_header X-Frame-Options SAMEORIGIN;
121121
add_header X-Content-Type-Options nosniff;
122122

src/deb/nginx/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ http {
108108

109109
location /error/ {
110110
expires off;
111-
internal
111+
internal;
112112
}
113113

114114
location /rrd/ {

0 commit comments

Comments
 (0)