I tried to deploy on production server Rails with actioncable (5.1.5) according to this tutorial https://www.phusionpassenger.com/library/config/nginx/action_cable_integration , on the same host and port, under a sub-URI
But i've got 404 on my /cable url, no errors in production.log
Have tried in application.rb
config.action_cable.mount_path = '/cable'
config.action_cable.allowed_request_origins = ['mydomen.com']
no success.
Anyone have experience with this versions of passenger/rails?
Ubuntu 16.04.3 LTS
nginx version: nginx/1.12.2
Phusion Passenger 5.1.12
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]