diff --git a/conf/nginx.conf b/conf/nginx.conf index cc23d97..5620398 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -8,6 +8,7 @@ location YNH_WWW_PATH { try_files $uri $uri/ /index.php?$args; location ~ ^/(.+/|)\.(?!well-known\/) { deny all; + } # Execute and serve PHP files location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$;