@@ -24,8 +24,9 @@ server {
include %home%/%user%/conf/web/%domain%/nginx.hsts.conf*;
- location ~ /.well-known {
- allow all;
+ location ~ /\.(?!well-known\/) {
+ deny all;
+ return 404;
}
location / {
@@ -15,8 +15,9 @@ server {
include %home%/%user%/conf/web/%domain%/nginx.forcessl.conf*;