You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Documentation to configure nginx to work with websockets #663
Hi,
In order to work with websockets proxying the application behind nginx, this configuration is needed to avoid 400 responses on connection negotiation:
Thank you @chipairon! The best is if you could write a blog post, as it would be the most googleable way (I think). In any case, we appreciate the info!
@josevalim I've been struggling with using SSL with phoenix directly, I found using nginx much more easier. I wish it was that easy with phoenix, so that I don't have to use nginx as a proxy..
Activity
josevalim commentedon Mar 6, 2015
Thank you @chipairon! The best is if you could write a blog post, as it would be the most googleable way (I think). In any case, we appreciate the info!
acrolink commentedon Oct 6, 2017
@chipairon, thank you very much. @josevalim, keep up the great work.
hopewise commentedon Mar 28, 2020
@josevalim I've been struggling with using SSL with phoenix directly, I found using nginx much more easier. I wish it was that easy with phoenix, so that I don't have to use nginx as a proxy..