From 36c411b9aadd8244f1c677e0c093009215b03cd6 Mon Sep 17 00:00:00 2001 From: sabelo Date: Mon, 29 Jul 2024 01:33:35 -0300 Subject: [PATCH] improves nginx conf to deploy on coolify --- nginx.template.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nginx.template.conf b/nginx.template.conf index db1d9a0..997cfc1 100644 --- a/nginx.template.conf +++ b/nginx.template.conf @@ -37,8 +37,9 @@ http { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - include fastcgi_params; + fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; + include $!{nginx}/conf/fastcgi_params; + include $!{nginx}/conf/fastcgi.conf; } } } \ No newline at end of file