Re: Limit reqs per user / bot

2016-01-08 Thread B.R.
You should use limit_conn in conjunction with limit_req . They are supplementing each other. --- *B. R.* On Fri, Jan 8, 2016 at 8:52 PM, djeyewater wr

Re: Limit reqs per user / bot

2016-01-08 Thread djeyewater
itpp2012 Wrote: --- > No because one user (web browser) can easily open 20 or more > simultaneous connections to get a better web response. > A bot might be less prone to do the same but most connect at about 5 > simultaneous connections. The li

Re: Reverse proxy, proxy_pass

2016-01-08 Thread Maxim Dounin
Hello! On Wed, Jan 06, 2016 at 05:52:20PM -0600, Amir Kaivani wrote: > Hi there, > > Here is a part of my nginx config file: > > location /test/ { >proxy_pass http://localhost:1024/; > } > > If I have it as above the GET /test/ request will be sent to port 1024 > as / and it also d

Re: logging

2016-01-08 Thread Maxim Dounin
Hello! On Wed, Jan 06, 2016 at 09:11:54AM -0500, tammini wrote: > Is it possible to log websocket requests in nginx access log ? Or is this > logging restricted only to http requests ? WebSocket requests are no different from other HTTP requests - they just establish a WebSocket connection usin

Re: Client Authentication Problem when access from android phone

2016-01-08 Thread Maxim Dounin
Hello! On Fri, Jan 08, 2016 at 03:33:56AM -0500, atsushi2550 wrote: > Hi there, > > I'm trying to set up reverse proxy server with client authentication. > > --- Environment --- > My CA is 2 tier. > Root CA - intermediate CA - Client Certificate. > > --- Problem Discripton --- > When I access

Re: Debugging 504 Gateway Timeout and its actual cause and solution

2016-01-08 Thread Maxim Dounin
Hello! On Wed, Jan 06, 2016 at 02:56:43AM -0500, Keyur wrote: > Thanks Richard & itpp2015 for your response. > > Further update : > > There are 2 cases : > > 1. 504 @ 120 seconds coming with below mentioned error : > > 2016/01/05 03:50:54 [error] 1070#0: *201650845 upstream timed out (110: >

Client Authentication Problem when access from android phone

2016-01-08 Thread atsushi2550
Hi there, I'm trying to set up reverse proxy server with client authentication. --- Environment --- My CA is 2 tier. Root CA - intermediate CA - Client Certificate. --- Problem Discripton --- When I accessed proxy server from laptop pc, only the correct client certificate was suggested, and au