parent
1e88625548
commit
9a15dcb7ca
|
@ -11,15 +11,10 @@ add_header Content-Security-Policy "{{ data.content_security_policy }}" always;<
|
||||||
add_header Strict-Transport-Security "max-age=31536000{{ isHSTSSubdomains() ? '; includeSubDomains' : '' }}{{ isHSTSPreload() ? '; preload' : '' }}" always;</span>
|
add_header Strict-Transport-Security "max-age=31536000{{ isHSTSSubdomains() ? '; includeSubDomains' : '' }}{{ isHSTSPreload() ? '; preload' : '' }}" always;</span>
|
||||||
|
|
||||||
# . files
|
# . files
|
||||||
location ^~ /. {
|
location ~ /\.(?!well-known) {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
|
||||||
# .well-known
|
|
||||||
location ^~ /.well-known/ {
|
|
||||||
allow all;
|
|
||||||
}
|
|
||||||
|
|
||||||
# favicon.ico
|
# favicon.ico
|
||||||
location = /favicon.ico {
|
location = /favicon.ico {
|
||||||
log_not_found off;<!--
|
log_not_found off;<!--
|
||||||
|
|
Loading…
Reference in New Issue