From 869e54905466edd70bac4c6cc7fab3f15043143f Mon Sep 17 00:00:00 2001 From: Sergei Solovev <31823239+SeAnSolovev@users.noreply.github.com> Date: Mon, 30 Dec 2024 03:40:17 +0300 Subject: [PATCH] Updated nginx configuration files (#73) --- deb.install.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/deb.install.sh b/deb.install.sh index 6dfcb33..2f8025f 100644 --- a/deb.install.sh +++ b/deb.install.sh @@ -273,11 +273,7 @@ while true; do expires 180m; } - location ~ /\.ht { - deny all; - } - - location ~ /\.en { + location ~ /\.ht|\.en { deny all; } @@ -296,7 +292,6 @@ while true; do fastcgi_pass unix:/run/php/php$verPhp-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name; - include fastcgi_params; } }" @@ -325,7 +320,6 @@ while true; do fastcgi_pass unix:/run/php/php$defPhp-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name; - include fastcgi_params; } }" # Задачи CRON