nginx 500 error, how to solve it?
巴扎黑
巴扎黑 2017-05-16 17:17:47
0
3
755

As shown in the figure, using 127.0.0.1 to access is a 500 error

But after modifying the hosts, it is normal to access through the domain name

127.0.0.1   shaomai.yii.so

How to deal with it?

巴扎黑
巴扎黑

reply all(3)
过去多啦不再A梦

Check the Nginx的错误日志:error.log,具体日志在什么地方根据系统、安装方式不同都不同,只有你自己知道了。
CentOS下默认是在/var/log/nginx/catalog.

左手右手慢动作

Just looking at this, I don’t know what the problem is. You can open the error log and look at the error log to locate the problem.

洪涛

I didn’t see a clear error message through the error log. The author can ask on stackoverflow.
If you have solved the problem, you can reply and let us all know what is wrong

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template