我有这个vhost conf
server { # php/fastcgi
listen 80;
server_name trinityplex.com www.trinity.com;
error_log /home/web/trinity_web/log/error.log;
access_log /home/web/trinity_web/log/access.log;
root /home/web/trinity_web/public;
location / {
index index.html index.htm index.php;
}
location ~ .php$ {
fastcgi_pass 127.0.0.1:9000
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_index index.php;
include fastcgi_params;
}
}
Run Code Online (Sandbox Code Playgroud)
当我重新启动nginx时它会转储
nginx的开始:2011年4月16日18时56分34秒[EMERG] 2492#0:在/usr/local/nginx/sites-enabled/trinityplex.com:14 "fastcgi_pass" 指令的参数数目无效
| 归档时间: |
|
| 查看次数: |
12248 次 |
| 最近记录: |