502 bad gateway during proxy deployment
Closed this issue · 2 comments
cjdenio commented
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
cjdenio commented
Sounds like this could be solved by eliminating the current proxy and writing a custom Nginx template for Dokku to use
cjdenio commented
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. 🙌