hackclub/hack-as-a-service-v0

502 bad gateway during proxy deployment

Closed this issue · 2 comments

The server returns a 502 between the time when the API deploys and the proxy deploys. For some reason Docker's built-in DNS gets messed up when containers get renamed

Sounds like this could be solved by eliminating the current proxy and writing a custom Nginx template for Dokku to use

Just got an answer from a Dokku maintainer (in their Slack): the answer is basically to eliminate the dedicated proxy and use Dokku's built-in Nginx customization tools. 🙌