mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-09 16:02:09 +08:00
@@ -8,7 +8,7 @@ add_header Referrer-Policy "{{ data.referrer_policy }}" always;<!--
|
||||
add_header Content-Security-Policy "{{ data.content_security_policy }}" always;</span><!--
|
||||
|
||||
✔ HSTS--><span ng-if="isHSTS()">
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;</span>
|
||||
add_header Strict-Transport-Security "max-age=31536000{{ isHSTSSubdomains() ? '; includeSubDomains' : '' }}{{ isHSTSPreload() ? '; preload' : '' }}" always;</span>
|
||||
|
||||
# . files
|
||||
location ~ /\. {
|
||||
|
Reference in New Issue
Block a user