any datagroup type solution for nginx

2021-04-27 Thread Oğuz Yarımtepe
I have large list of paths going to same backend: location ~ /xxx { proxy_pass http://backend_foo; } location ~ /yyy { proxy_pass http://backend_foo; } location ~ /zzz { proxy_pass http://backend_foo; } location ~ /mmm { proxy_pass http://backend_foo; } The number of paths are 3254. So writi

upgrading binary failed - execve - too long argument list

2021-04-27 Thread Charlie Kilo
Hi everyone, i'm trying to upgrade an nginx-binary while running. When i do kill -s USR2 , i get the following error in the logs.. 11:40:38 [alert] 52701#0: execve() failed while executing new binary process "/opt/sbin/nginx" (7: Argument list too long) Anybody knows what exactly is in those argu