Re: control proxy_buffering with variables

2023-11-17 Thread Maxim Dounin
Hello! On Fri, Nov 17, 2023 at 03:57:23AM +, public1020 via nginx wrote: > I'm trying to control buffering with variables, but nginx complains about it, > > nginx: [emerg] invalid value "$val" in "proxy_request_buffering" directive, > it must be "on" or "off" in /etc/nginx/sites-enabled/tes

Limiting number of client TLS connections

2023-11-17 Thread Zero King
Hi all, I want Nginx to limit the rate of new TLS connections and the total (or per-worker) number of all client-facing connections, so that under a sudden surge of requests, existing connections can get enough share of CPU to be served properly, while excessive connections are rejected and r