Public Access
Обновить docker/nginx/egeya.conf.template
This commit is contained in:
1 parent
6b469b1240
commit
ec677de4a4
1 file changed
+9
-8
@@ -1,6 +1,7 @@
|
|||||||
server {
|
server {
|
||||||
listen 80 default_server;
|
listen 80 default_server;
|
||||||
listen [::]:80 default_server;
|
listen [::]:80 default_server;
|
||||||
|
|
||||||
server_name ${NGINX_SERVER_NAME};
|
server_name ${NGINX_SERVER_NAME};
|
||||||
|
|
||||||
keepalive_timeout 70;
|
keepalive_timeout 70;
|
||||||
@@ -37,18 +38,18 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location ~ \.php$ {
|
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_HOST $http_host;
|
||||||
fastcgi_param HTTP_X_FORWARDED_HOST $http_x_forwarded_host;
|
fastcgi_param SERVER_NAME $host;
|
||||||
fastcgi_param HTTP_X_FORWARDED_PROTO $http_x_forwarded_proto;
|
fastcgi_param SERVER_PORT ${NGINX_EXTERNAL_PORT};
|
||||||
|
|
||||||
fastcgi_param E2_SYNTH_URLS true;
|
fastcgi_param E2_SYNTH_URLS true;
|
||||||
|
|
||||||
fastcgi_pass php:9000;
|
fastcgi_pass php:9000;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /\.ht {
|
location ~ /\.ht {
|
||||||
|
|||||||
Reference in new issue
Block a user