-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Websocket proxy in port mappings #917
Comments
And how will that influence non-websocket connections? |
As discussed internally better add these lines to all templates and should not hurt anything |
Hello folks, I just hit this issue trying to understand why my deploy to subutai of Convos (http://convos.by/) that depends on WebSockets was failing to keep the connections up. But, these configurations didn't allow me to run it properly I had to add this line on the subutai-nginx configuration created by agent:
After search for a while (https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_http_version). As I read the docs referred, it states when http proxying the proxy is by default set to http 1.0. And that was the problem I was getting with this application. Thks all. :) |
Good catch @marcoarthur. @etursunbaev was right. Perhaps the fix never made it out the door into production. Reopened to confirm fix. |
#917 added nginx config `proxy_http_version 1.1;`
@marcoarthur hi |
Thanks @dilshat ! Will setup a dev peer and give you feedback ASAP |
@dilshat sorry couldn't really test it yet, without a sandbox env by the moment. |
@marcoarthur np , take your time ! |
@marcoarthur hey buddy |
Need to add these nginx directives to templates
to websocket proxying
https://www.nginx.com/blog/websocket-nginx/ additional info can be found here
The text was updated successfully, but these errors were encountered: