我有这个虚拟主机配置
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;
}
}
当我重新启动 nginx 时,它会转储
启动 nginx: 2011/04/16 18:56:34 [emerg] 2492#0: /usr/local/nginx/sites-enabled/trinityplex.com:14 中“fastcgi_pass”指令中的参数数量无效
也许是失踪的;在 fastcgi_pass 之后?
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)