Report this

What is the reason for this report?

After gerenated SSL using certbot, my application in Adonis is getting 502 Bad Gateway

Posted on March 13, 2020

I have an application in Adonis, using Nginx, in Ubuntu Server. I generated an SSL with certbot. Everything seems ok, but when I try to access my domain, I have 502 Bad Gateway.

Someone can help me with?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hi there @lucaskeiti28,

I would recommend taking a look at this answer here on how to troubleshoot common Nginx problems:

https://www.digitalocean.com/community/questions/how-to-troubleshoot-common-nginx-issues-on-linux-server

If you are unsure, feel free to share the output of the commands here so that I could try to further advise you.

Hope that this helps! Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.