From 3cb6572b5d80d3a0c0061051b8d684c9692a0f5e Mon Sep 17 00:00:00 2001 From: Robin Date: Sat, 1 May 2021 14:23:06 +0200 Subject: [PATCH] also prevent access to htaccess files --- nginx_web/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx_web/nginx.conf b/nginx_web/nginx.conf index 640c53f..8fbb40c 100644 --- a/nginx_web/nginx.conf +++ b/nginx_web/nginx.conf @@ -31,7 +31,7 @@ http { try_files $uri $uri/ /index.php?route=$uri&$args; } - location ~ \.(tpl|cache)$ { + location ~ \.(tpl|cache|htaccess)$ { return 403; }