502 bad gateway after change pasword

August 28, 2018 665 views
Ubuntu DigitalOcean

Excuse me, someone can help me with a problem I have, since I changed the password to make a Sftp I get an error in my server, (502 bad gateway nginx / 1.10.3 (Ubuntu)) someone can guide me how to reestablish the server

1 Answer

Hey friend!

So bad gateway means Nginx is trying to reach out to another backend application, to process the requested data, and that backend is failing. This probably means a service on the server did not start on boot. That could be anything from php-fpm to nodejs. What type of web application are you running?


Have another answer? Share your knowledge.