diff --git a/public/templates/conf/nginxconfig.io/general.conf.html b/public/templates/conf/nginxconfig.io/general.conf.html index 5eae2fa..705485d 100644 --- a/public/templates/conf/nginxconfig.io/general.conf.html +++ b/public/templates/conf/nginxconfig.io/general.conf.html @@ -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; # . files -location ^~ /. { +location ~ /\.(?!well-known) { deny all; } -# .well-known -location ^~ /.well-known/ { - allow all; -} - # favicon.ico location = /favicon.ico { log_not_found off;