mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-09 12:25:36 +08:00
unblokc .well-known (#50)
This commit is contained in:
@@ -11,7 +11,7 @@ add_header Content-Security-Policy "{{ data.content_security_policy }}" always;<
|
||||
add_header Strict-Transport-Security "max-age=31536000{{ isHSTSSubdomains() ? '; includeSubDomains' : '' }}{{ isHSTSPreload() ? '; preload' : '' }}" always;</span>
|
||||
|
||||
# . files
|
||||
location ~ /\. {
|
||||
location ~ /\.(?!well-known) {
|
||||
deny all;
|
||||
}<span ng-if="data.expires_assets && data.expires_assets !== data.expires_media">
|
||||
|
||||
|
Reference in New Issue
Block a user