Can nginx has the capability to dynamically limit the connections when the upstream server has full load

2016-08-18 Thread tjlp
Hi, I have a scenario: my backend servers provide URL to query whether this sever can accept new connections (the http response body is "true" or "false"). This server also has configuration for the max allowed session. Now I want to use Nginx as load balancer. Does Nginx provide such kind of

Re: Problem with SSL handshake

2016-08-18 Thread Mik J
Thank you Maxim for your answer. You are right I should start by upgrading to a more recent version. This machine is a debian machine and pointed to its release source list. Next I'll do captures. I'll also correct my configuration. Poka Le Jeudi 18 août 2016 1h12, Maxim Dounin a écrit :

Re: Async operation in pre-access phase?

2016-08-18 Thread Maxim Dounin
Hello! On Thu, Aug 18, 2016 at 03:48:31AM -0400, leeyiw wrote: > Hi, everyone: > I want to develop a module that send/recv in pre-access handler > asynchronously, and my pre-access handler will return NGX_AGAIN. > My question is when my send/recv callback is called, how can I continue the > reque

AW: AW: AW: Disabling HTTP/2 for a specific location

2016-08-18 Thread Lukas Tribus
> @Lukas do you mean something like this Yes, that's what I mean. Lukas ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Full Filename Directory Listing

2016-08-18 Thread tungstone
Sincere and real appreciation fagtron Can you find us a tip to edit src / http / modules / ngx_http_autoindex_module.c so you do not have columns dating and size? And only the file name? Whether your summer you be good! tungstone Posted at Nginx Forum: https://forum.nginx.org/read.php?2,1244

Re: AW: AW: Disabling HTTP/2 for a specific location

2016-08-18 Thread khav
@Lukas do you mean something like this location = /upload { proxy_pass http://mywebsite.com/upload; } server { listen 80; server_name mywebsite.com; location = /upload { } } Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268988,269037#msg-269037 ___

Async operation in pre-access phase?

2016-08-18 Thread leeyiw
Hi, everyone: I want to develop a module that send/recv in pre-access handler asynchronously, and my pre-access handler will return NGX_AGAIN. My question is when my send/recv callback is called, how can I continue the request? By default it's block forever. Posted at Nginx Forum: https://forum.n