From 7d354751042e33b97bcb72911102bcb994d6ab3b Mon Sep 17 00:00:00 2001 From: Tyler Cosgrove Date: Mon, 1 Feb 2016 11:48:12 -0500 Subject: [PATCH] LICENSE renamed to LICENSE.txt --- webserver-configs/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver-configs/nginx.conf b/webserver-configs/nginx.conf index 50ff852b9..04d179889 100644 --- a/webserver-configs/nginx.conf +++ b/webserver-configs/nginx.conf @@ -38,7 +38,7 @@ server { # deny running scripts inside user folder location ~* /user/.*\.(txt|md|yaml|php|pl|py|cgi|twig|sh|bat)$ { return 403; } # deny access to specific files in the root folder - location ~ /(LICENSE|composer.lock|composer.json|nginx.conf|web.config|htaccess.txt|\.htaccess) { return 403; } + location ~ /(LICENSE.txt|composer.lock|composer.json|nginx.conf|web.config|htaccess.txt|\.htaccess) { return 403; } ## End - Security }