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 }