Nginx as reverse proxy - proxy_ssl_x questions

2023-11-18 Thread Mark
Hello there. Having a proxy directive like; location / { proxy_pass http://10.10.10.4:4020; ... I wonder when using proxy_pass http://... (not httpS), are these directives effective, under the proxy_pass? proxy_ssl_name $host; proxy_ssl_server_name on; proxy_ssl_session_reus

Re: Nginx as reverse proxy - proxy_ssl_x questions

2023-11-18 Thread Maxim Dounin
Hello! On Sat, Nov 18, 2023 at 01:54:21PM +0300, Mark wrote: > Hello there. > > Having a proxy directive like; > > location / { > proxy_pass http://10.10.10.4:4020; > ... > > I wonder when using proxy_pass http://... (not httpS), > are these directives effective, under the proxy_pass?

Re: Limiting number of client TLS connections

2023-11-18 Thread Maxim Dounin
Hello! On Sat, Nov 18, 2023 at 02:44:20PM +0800, Zero King wrote: > 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 b