fix var
This commit is contained in:
12
nginx.conf
12
nginx.conf
@@ -11,7 +11,7 @@ events {
|
|||||||
}
|
}
|
||||||
|
|
||||||
http {
|
http {
|
||||||
include $!{nginx}/conf/mime.types;
|
include ${NIXPACKS_NGINX_ROOT}/conf/mime.types;
|
||||||
index index.html index.htm index.php;
|
index index.html index.htm index.php;
|
||||||
|
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
@@ -41,9 +41,9 @@ http {
|
|||||||
|
|
||||||
add_header X-Frame-Options "SAMEORIGIN";
|
add_header X-Frame-Options "SAMEORIGIN";
|
||||||
add_header X-Content-Type-Options "nosniff";
|
add_header X-Content-Type-Options "nosniff";
|
||||||
|
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
charset utf-8;
|
charset utf-8;
|
||||||
|
|
||||||
# Static files for root directory
|
# Static files for root directory
|
||||||
@@ -100,12 +100,12 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Handle PHP files
|
# Handle PHP files
|
||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
fastcgi_pass 127.0.0.1:9000;
|
fastcgi_pass 127.0.0.1:9000;
|
||||||
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
||||||
include $!{nginx}/conf/fastcgi_params;
|
include ${NIXPACKS_NGINX_ROOT}/conf/fastcgi_params;
|
||||||
include $!{nginx}/conf/fastcgi.conf;
|
include ${NIXPACKS_NGINX_ROOT}/conf/fastcgi.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Gzip compression
|
# Gzip compression
|
||||||
|
|||||||
Reference in New Issue
Block a user