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

April 25, 2017 2.9k views
Nginx LEMP WordPress 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.