nginx报错日志
来源:13-9 服务端项目自动化发布、验证、故障排查与解决
慕UI318403
2017-12-24
2017/12/24 18:13:33 [error] 3880#3076: *2963 upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond) while connecting to upstream, client: 42.48.104.249, server: ylmmall.cn, request: "POST /user/login.do HTTP/1.1", upstream: "http://127.0.0.1:8080/user/login.do", host: "www.ylmmall.cn"
这是Nginx的报错日志,麻烦老师看一下,访问后台一直是504超时
2回答
-
慕UI318403
提问者
2017-12-24
server {
listen 80;
autoindex on;
server_name ylmmall.cn www.ylmmall.cn;
access_log c:/access.log combined;
index index.html index.htm index.jsp index.php;
if ( $query_string ~* ".*[\;'\<\>].*" ){
return 404;
}
location = / {
root C:/product/frontend/mmall-fe/dist/view;
index index.html;
}
location ~ .*\.html$ {
root C:/product/frontend/mmall-fe/dist/view;
index index.html;
}
location / {
proxy_pass http://127.0.0.1:8080/;
}
}
谢谢老师赞美,那个服务器ip是我的电脑
062017-12-27 -
Geely
2017-12-24
你好,同学,把你的配置文件发上来。http://www.ylmmall.cn/ 还有这个域名,刚才我访问打开了网站,哇塞!赞美!!
还有你的42.48.104.249 这个是哪个服务器的ip 这些说明一下,我需要更多的线索才能帮助你
012017-12-24
相似问题