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