ActionCable - Error during WebSocket handshake: Unexpected response code: 404
问题 Have deployed my Rails 5.2 app via Capistrano, and am having problems with ActionCable. I am using Nginx, Puma and Lets Encrypt. I have tried many combinations of configuration, but each time am receiving the same error. I am not sure how to debug this issue, and suggestions as well and any tips on re-arranging my ngnx.conf would be well-appreciated. Have changed the real website to website.com nginx.conf upstream puma { server unix:///home/deploy/apps/website/shared/tmp/sockets/website-puma