Question

after droplet creating what the process of your amount getting of digital ocean?

Posted January 14, 2018 1k views
Linux Basics Linux Commands Ubuntu 16.04

502 bad getway error in nginx 1.10 /ubuntu please guide to resolve

my email id is
yogiparmar91@gmail.com

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

What type of application are you running? A 502 error generally indicates that nginx was unable to reach the upstream service needed to process the request. This can either be the php-fpm process for PHP sites or it could be another type of service using a proxy_pass configuration.

If this is a php site you can try:

service php-fpm restart
Submit an Answer