mirror of
https://github.com/EngineGPDev/Autoinstall.git
synced 2025-01-18 13:52:22 +03:00
Updated nginx configuration files (#73)
This commit is contained in:
parent
6f35286cf7
commit
869e549054
@ -273,11 +273,7 @@ while true; do
|
|||||||
expires 180m;
|
expires 180m;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /\.ht {
|
location ~ /\.ht|\.en {
|
||||||
deny all;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~ /\.en {
|
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -296,7 +292,6 @@ while true; do
|
|||||||
fastcgi_pass unix:/run/php/php$verPhp-fpm.sock;
|
fastcgi_pass unix:/run/php/php$verPhp-fpm.sock;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
|
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_pass unix:/run/php/php$defPhp-fpm.sock;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
|
||||||
include fastcgi_params;
|
|
||||||
}
|
}
|
||||||
}"
|
}"
|
||||||
# Задачи CRON
|
# Задачи CRON
|
||||||
|
Loading…
Reference in New Issue
Block a user