After configuring nginx php5.6, the website displays 502
Not connected to fpm
I think it is better to analyze the specific situation in detailCheck 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
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
Not connected to fpm
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
Add in main node
Increase the connection time and this will solve the problem