I am getting 502 Bad Gateway nginx/1.10.0 (Ubuntu). i Tried restating php7.0-fpm, din worked

April 25, 2017 3.2k views
Nginx WordPress LEMP Ubuntu 16.04

nginx got setup correctly and its showing, if i tried to access the file which is created the error “502 Bad Gateway nginx/1.10.0 (Ubuntu). ” is showing, and if try to access files which is not present, through browser 404 Not Found it is the error.

1 Answer


What does your NGINX server block look like?

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!