From dfe31eaca0653b5bf6ac4c82f8e97d27cb40d76d Mon Sep 17 00:00:00 2001 From: frju365 Date: Sat, 28 Jan 2017 23:27:07 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 1 + 1 file changed, 1 insertion(+) 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)(/.*)$;