gpt4 book ai didi

php - nginx 无法加载索引文件

转载 作者:可可西里 更新时间:2023-10-31 22:18:36 27 4
gpt4 key购买 nike

<分区>

我有这个虚拟主机配置

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 时它会转储

Starting nginx: 2011/04/16 18:56:34 [emerg] 2492#0: invalid number of arguments in "fastcgi_pass" directive in /usr/local/nginx/sites-enabled/trinityplex.com:14

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com