Обновить docker/nginx/egeya.conf.template

This commit is contained in:
m9k committed 2026-09-30 05:12:23 +00:00
1 parent 6b469b1240
commit ec677de4a4
1 file changed
+10 -9
+10 -9
View File
@@ -1,6 +1,7 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name ${NGINX_SERVER_NAME};
keepalive_timeout 70;
@@ -37,18 +38,18 @@ server {
}
location ~ \.php$ {
include fastcgi_params;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTP_HOST $http_host;
fastcgi_param HTTP_X_FORWARDED_HOST $http_x_forwarded_host;
fastcgi_param HTTP_X_FORWARDED_PROTO $http_x_forwarded_proto;
fastcgi_param HTTP_HOST $http_host;
fastcgi_param SERVER_NAME $host;
fastcgi_param SERVER_PORT ${NGINX_EXTERNAL_PORT};
fastcgi_param E2_SYNTH_URLS true;
fastcgi_param E2_SYNTH_URLS true;
fastcgi_pass php:9000;
fastcgi_index index.php;
fastcgi_pass php:9000;
fastcgi_index index.php;
}
location ~ /\.ht {
@@ -58,4 +59,4 @@ server {
location ~ \.psa$ {
deny all;
}
}
}