server {
listen 80;
server_name xx.cn;
index index.php index.html index.htm;
root /data/www_deploy/xx/backend/web;
location ~* /\. {
deny all;
}
location / {
try_files $uri /index.php?$args;
}
location ~ .*\.(php|php5)?$
{
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
client_max_body_size 512m;
}
nginx错误显示客户端在等待请求时关闭连接,客户端:xxxx,服务器:0.0.0.0:80通过客户端浏览器访问域时
错误表明
正在连接到 xx.cn (xx.cn)|xxxx|:80... 已连接。已发送 HTTP 请求,等待响应... 500 内部服务器错误 2019-09-13 19:48:18 错误 500:内部服务器错误。
通过 wget xx.cn 在服务器上
我想知道如何处理?
哔哔one
哆啦的时光机
随时随地看视频慕课网APP