|
@@ -15,7 +15,7 @@ http {
|
|
server {
|
|
server {
|
|
listen $PORT;
|
|
listen $PORT;
|
|
|
|
|
|
- root /app/html;
|
|
|
|
|
|
+ root /app/web;
|
|
|
|
|
|
location / {
|
|
location / {
|
|
index index.php index.html index.htm;
|
|
index index.php index.html index.htm;
|
|
@@ -27,7 +27,7 @@ http {
|
|
fastcgi_pass 127.0.0.1:9000;
|
|
fastcgi_pass 127.0.0.1:9000;
|
|
fastcgi_index index.php;
|
|
fastcgi_index index.php;
|
|
include /etc/nginx/fastcgi_params;
|
|
include /etc/nginx/fastcgi_params;
|
|
- fastcgi_param SCRIPT_FILENAME /app/html/$fastcgi_script_name;
|
|
|
|
|
|
+ fastcgi_param SCRIPT_FILENAME /app/web/$fastcgi_script_name;
|
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
}
|
|
}
|
|
}
|
|
}
|