sail: Try setting STS headers for SSL only
This commit is contained in:
parent
646c96fb6b
commit
e7c000eb0c
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ in
|
|||
add_header Access-Control-Allow-Origin https://mastodon.kempkens.io;
|
||||
|
||||
if ($ssl_protocol != "") {
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload";
|
||||
add_header Strict-Transport-Security max-age=31536000\;\ includeSubDomains\;\ preload;
|
||||
}
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue