Rails 5 Action Cable deployment with Nginx, Puma & Redis

浪子不回头ぞ 提交于 2019-12-05 02:23:51
ollpu

Finally, I got it working! I've been trying various things for about a week...

The 301-redirects were caused by nginx actually trying to redirect the browser to /cable/ instead of /cable. This is because I had specified /cable/ instead of /cable in the location stanza! I got the idea from this answer.

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