This commit is contained in:
Tim Bendt
2025-11-29 10:53:29 -05:00
parent f1b15699d0
commit 74b09e53c1

View File

@@ -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;
@@ -104,8 +104,8 @@ http {
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