Error 502 Bad Gateway on NGINX + rails + dokku

故事扮演 提交于 2019-12-06 03:48:12

You can check the errors by running dokku logs appname in the ssh.

i think it's problem in restarting mod_passenger (nginx module for ruby)

I had a similar issue after powering off my Dokku droplet on Digital Ocean. Easy fix was to ssh into the droplet and run:

dokku ps:rebuildall

Visit the app in the browser and all was well!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!