Re: Page loading is very slow with ngx_http_auth_pam_module

2017-05-23 Thread Cumali Ceylan
I built libpam --with-debug configuration and collect logs while logging with nginx and saw that libpam opens configurations and parses them at each single request. I think this is the problem. Is there anyone how to solve this issue ? Kind regards, Cumali Ceylan On 05/12/2017 05:22 PM, Cu

Re: Re: Re :Re: Re:Reverse-proxying: Flask app with Bokeh server on Nginx

2017-05-23 Thread J K via nginx
Hi Francis, you set me on the right track and I developed the solution. I differentiate the name of the Bokeh app (now company_abc-app) and the user (company_abc) and then created a location in the Nginx config file for the Bokeh app, specifically. Everything else goes through Flask, if it's not s

Load balancer without sending traffic through

2017-05-23 Thread Jesus arteche
hey guys, Would be possible to load balance traffic to different servers without sending traffic through? I'd like to upload files, and the frontend servers are several, so using round robin, I'd like to send the first request to the first, second to second... Client will request to nginx to uploa

Re: why reuseport don't increases throughoutput?

2017-05-23 Thread CJ Ess
Sounds like you've got all the common stuff well covered. I'm curious what the flame graphs show, I'd like to implement the port reuse feature for my employer if it works as described in the article you referenced. On Tue, May 23, 2017 at 3:39 AM, fengx wrote: > Hello, CJ Ess > Both of cases, ac

Re: client sent invalid request while reading client request line

2017-05-23 Thread Maxim Dounin
Hello! On Tue, May 23, 2017 at 09:43:32AM -0400, ismailyenigul wrote: > Hi, > > I have a node.js based ide running nginx reverse proxy behind. > When I try to upload a file with a Turkish characters, > nginx gives "client sent invalid request while reading client request line" > and I see 400

client sent invalid request while reading client request line

2017-05-23 Thread ismailyenigul
Hi, I have a node.js based ide running nginx reverse proxy behind. When I try to upload a file with a Turkish characters, nginx gives "client sent invalid request while reading client request line" and I see 400 Bad Request on browser console. request: "PUT /mypath/ismail123/1/9c3qajZ3mt5G35tt

Re: why reuseport don't increases throughoutput?

2017-05-23 Thread fengx
Hello, CJ Ess Both of cases, access log is disabled and error log is enabled with level ERROR. However, there only are a very few of errors in both cases, so I think it does not matter with the logging. Anyway, I will have another test with error log disabled later. Hello, tokers Yes, I will captu