Commit d90bd302 authored by nanahira's avatar nanahira

no hsts

parent 7ea05268
Pipeline #1190 failed with stages
...@@ -5,7 +5,7 @@ server { ...@@ -5,7 +5,7 @@ server {
if ($https != "on") { if ($https != "on") {
return 301 https://$host$request_uri; return 301 https://$host$request_uri;
} }
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always; # add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
location ~ ^/([^/]+)(/.*)?$ { location ~ ^/([^/]+)(/.*)?$ {
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host; proxy_set_header Host $host;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment