Re: Start nginx worker process with same user as master process

2016-09-20 Thread Sushma
Thanks for the details. I have explicitly changed permissions for directories as required. But the problem I am facing here is nginx reload fails due to permission denied for proxy_temp folder. I had explicitly changed permissions for this folder so that it could be accesssed by user abc (user wit

Re: typical value(s) for stream/limit_conn

2016-09-20 Thread itpp2012
Francis Daly Wrote: --- > On Tue, Sep 20, 2016 at 09:27:40PM +0100, Francis Daly wrote: > > > "stream" is "arbitrary tcp connections". There is no "typical", I > think. > > "stream" is also "arbitrary udp datagrams" too, of course. Which > proba

Re: typical value(s) for stream/limit_conn

2016-09-20 Thread Francis Daly
On Tue, Sep 20, 2016 at 09:27:40PM +0100, Francis Daly wrote: > On Mon, Sep 19, 2016 at 09:53:38AM -0400, itpp2012 wrote: Hi there, > "stream" is "arbitrary tcp connections". There is no "typical", I think. "stream" is also "arbitrary udp datagrams" too, of course. Which probably has its own set

Re: typical value(s) for stream/limit_conn

2016-09-20 Thread Francis Daly
On Mon, Sep 19, 2016 at 09:53:38AM -0400, itpp2012 wrote: Hi there, > Plenty of guidelines for http limit_conn but hardly any for stream, what > would be a typical value in which cases? > Has anyone done some log/connection analysis to determine what would be > typical use? "stream" is "arbitrar

Re: Start nginx worker process with same user as master process

2016-09-20 Thread Francis Daly
On Tue, Sep 20, 2016 at 06:48:41AM -0400, Sushma wrote: Hi there, There are a few different things that I think you may be conflating here. > When nginx is installed (checking with -V option), I see that the user > specified is "nginx" user. By that, I think you mean that the compile-time defau

Re: Transmission remote GUI proxy_protocol broken header

2016-09-20 Thread Francis Daly
On Mon, Sep 19, 2016 at 09:08:57AM -0400, adrhc wrote: Hi there, > nginx-1.11.3 > Transmission remote GUI:443 -> sshttp:443 -> stunnel:1443 -> > nginx:127.0.0.1:443 (no ssl, with listen ... proxy_protocol, > port_in_redirect on) There are a lot of potential moving parts there. > nginx:127.0.0.1

Re: typical value(s) for stream/limit_conn

2016-09-20 Thread itpp2012
5 wasn't really enough, 12 seems a better value. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,269663,269701#msg-269701 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: listen proxy_protocol and rewrite redirect scheme

2016-09-20 Thread Francis Daly
On Sat, Sep 17, 2016 at 03:41:34PM -0400, adrhc wrote: Hi there, > The final working setup: > > src/http/ngx_http_header_filter_module.c: > #if (NGX_HTTP_SSL) > if (c->ssl || port == 443) { > *b->last++ ='s'; > } > #endif This will work in your circumstances -- you c

Re-balancing Upstreams in TCP LoadBalancer

2016-09-20 Thread Balaji Viswanathan
Hello Nginx Users, I am running nginx as a TCP load balancer (streams module). I am trying to find a way to redistribute client TCP connections to upstream servers, specifically, rebalance the load on the upstream servers (on some event) w/o having to restart nignx. Clients use persistent TCP conn

Re: proxy_pass Cannot GET

2016-09-20 Thread trivender
Please someone help me with the same issue.. http://stackoverflow.com/questions/39574238/mongo-express-get-request-issue-with-nginx-proxy Posted at Nginx Forum: https://forum.nginx.org/read.php?2,244100,269687#msg-269687 ___ nginx mailing list nginx@n

Re: Start nginx worker process with same user as master process

2016-09-20 Thread Sushma
Hi Francis, Thanks for your update. When nginx is installed (checking with -V option), I see that the user specified is "nginx" user. However my master and worker process are run as a different user (non root user). In this case I see that many of the directories in nginx are owned by nginx user