Getting a 502 bad gateway error on nginx hosting Getting a 502 bad gateway error on nginx hosting nginx nginx

Getting a 502 bad gateway error on nginx hosting


You could check the error log to see why nginx is throwing a 502 error by adding

error_log logs/error.log to nginx.conf.

Then restart nginx and watch the log file with tail -f logs/error.log as you try to authenticate.