File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 93
93
94
94
client_max_body_size 1G;
95
95
96
- add_header Strict-Transport-Security "max-age=31536000" ;
96
+ add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always ;
97
97
98
98
access_log /var/log/nginx/access.log json_combined;
99
99
@@ -125,6 +125,7 @@ http {
125
125
auth_basic_user_file /etc/nginx/htpasswd;
126
126
{{ end }}
127
127
add_header X-Static no;
128
+ add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
128
129
proxy_buffering off;
129
130
proxy_buffer_size 64k;
130
131
proxy_busy_buffers_size 64k;
@@ -172,7 +173,7 @@ http {
172
173
173
174
proxy_cache_bypass $http_cache_control;
174
175
add_header X-Cache-Status $upstream_cache_status;
175
-
176
+ add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
176
177
# there is no inheritance of proxy_set_header, as soon as we define one at a level,
177
178
# we need to redefine all
178
179
include /etc/nginx/proxy_headers.conf;
You can’t perform that action at this time.
0 commit comments