Categories
Development System & Network

Change error page for 502 Bad Gateway error Nginx not working

I have researched online for a means to change the error page when running into a 502 Bad Gateway error. I have tried all the methods given to no avail. I looked in the nginx.conf file and saw that it points to /usr/share/nginx/html/50x.html when dealing with 500 errors. However this page is never shown. Instead […]

Categories
Development System & Network

Change error page for 502 Bad Gateway error Nginx not working

I have researched online for a means to change the error page when running into a 502 Bad Gateway error. I have tried all the methods given to no avail. I looked in the nginx.conf file and saw that it points to /usr/share/nginx/html/50x.html when dealing with 500 errors. However this page is never shown. Instead […]