现在是这么设置的,访问/doc1正常
location /doc1 {
root /home/jill;
index index.php index.html;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /home/jill/doc1/$fastcgi_script_name;
include /etc/nginx/fastcgi_params;
}
可是我现在想再增加一个站点的路径比如/doc2,指向另一个文件夹比如/home/jack/doc2,应该如何设置才能生效呢?
--
修改:bressanone FROM 218.26.233.*
FROM 218.26.233.*