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

Posted January 14, 2018 1.6k views
Linux BasicsLinux CommandsUbuntu 16.04

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

my email id is

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.

Submit an Answer
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