Trying to use external database on RDS, getting 502 bad gateway from nginx

I was able to follow the steps on the migration to external database document but once I change the values on the docker.env and restart the services I am stuck on 502 bad gateway screen.

Hm it could be because the RDS wants an encrypted connection. How to specify that?

@Richard_Vencu , can you check the logs for the nginx and api containers?

Hey @Richard_Vencu! If the error is in fact RDS wanting an encrypted connection, you can specify an SSL connection specifically with this env variable. Let us know if that resolves this or if you are hitting a different error.

Yes, I think this would be needed, RDS is getting set with SSL by default.

1 Like