I also just tested regular http and it is having the same problem.
dgobaud Wrote:
-------------------------------------------------------
> Don't think so - config is below and the relevant url is
> /dashboard_stream
>
> upstream my_app {
> server unix:///var/run/puma/my_app.sock;
> }
>
> server {
> listen 80;
> server_name _ localhost; # need to listen to localhost for
> worker tier
>
> if ($http_x_forwarded_proto = "http") { return 301
> https://$host$request_uri; }
>
> location / {
> proxy_pass http://my_app; # match the name of upstream
> directive which is defined above
> proxy_set_header Host $host;
> proxy_set_header X-Forwarded-For
> $proxy_add_x_forwarded_for;
> }
>
> location /dashboard_stream {
> proxy_pass http://my_app; # match the name of upstream
> directive which is defined above
> proxy_set_header Host $host;
> proxy_set_header X-Forwarded-For
> $proxy_add_x_forwarded_for;
> proxy_buffering off;
> proxy_cache off;
> proxy_http_version 1.1;
> }
> }
>
> Valentin V. Bartenev Wrote:
> -------------------------------------------------------
> > On Monday 13 July 2015 12:02:44 dgobaud wrote:
> > > Any update on this? Seeing this problem with nginx leaving
> > connections open
> > > on AWS Beanstalk using nginx to proxy to puma/ruby on rails.
> > [..]
> >
> > Do you have cache or proxy store configured?
> >
> > wbr, Valentin V. Bartenev
> >
> > _______________________________________________
> > nginx mailing list
> > nginx@nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx