After configuring nginx php5.6, the website displays 502
when accessed.怪我咯2017-05-16 17:21:12
I think it is better to analyze the specific situation in detail
Check the error log of nginx, please provide more detailed errors
Basic personal experience, the fpm link method is wrong, maybe fpm listening port, you use sock, or the other way around
我想大声告诉你2017-05-16 17:21:12
Add in main node
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
Increase the connection time and this will solve the problem