server {
listen 80;
server_name xxxx.com;
root /data/www;
location / {
index index.html index.php;
}
location ~ \.php$ {
root /data/www;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /data/www$fastcgi_script_name;
include fastcgi_params;
fastcgi_connect_timeout 600s;
fastcgi_send_timeout 600s;
fastcgi_read_timeout 600s;
}
}
如上,我这个/data/www复制了三遍。。。
和解?感谢!
listen 80;
server_name xxxx.com;
root /data/www;
location / {
index index.html index.php;
}
location ~ \.php$ {
root /data/www;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /data/www$fastcgi_script_name;
include fastcgi_params;
fastcgi_connect_timeout 600s;
fastcgi_send_timeout 600s;
fastcgi_read_timeout 600s;
}
}
如上,我这个/data/www复制了三遍。。。
和解?感谢!