diff --git a/nginx.conf b/nginx.template.conf similarity index 97% rename from nginx.conf rename to nginx.template.conf index d1f1416..e93d12c 100644 --- a/nginx.conf +++ b/nginx.template.conf @@ -11,7 +11,7 @@ events { } http { - include /etc/nginx/mime.types; + include $!{nginx}/conf/mime.types; index index.html index.htm index.php; default_type application/octet-stream; @@ -104,8 +104,8 @@ http { location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; - include /etc/nginx/fastcgi_params; - include /etc/nginx/fastcgi.conf; + include $!{nginx}/conf/fastcgi_params; + include $!{nginx}/conf/fastcgi.conf; } # Gzip compression