php-fpm - The website displays 502 when accessed after configuring nginx+php5.6
仅有的幸福
仅有的幸福 2017-05-16 17:19:12
0
3
726

After configuring nginx php5.6, the website displays 502

when accessed.
仅有的幸福
仅有的幸福

reply all(3)
左手右手慢动作

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

fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;

Increase the connection time and this will solve the problem

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