Re: Help with UDP load balancing passive health checks

2022-02-24 Thread Pawel Fraczek
Thanks for the explanation. Sorry if I'm being dense but is there some way to get udp passive health check to fail to the next server? Meaning,based on my configuration, am I doing something wrong or is this simply unavailable with udp? Thanks On Thu, Feb 24, 2022, 1:31 AM Sergey Kandaurov wr

Re: About nginx and OCSP Must-Staple

2022-02-24 Thread A. Schulze
Am 24.02.22 um 19:06 schrieb wordlesswind via nginx: > I enabled OCSP Must-Staple, then I found that after restarting nginx, I > always get "MOZILLA_PKIX_ERROR_REQUIRED_TLS_FEATURE_MISSING" error when > visiting my website for the first time. Hi, this is known behavior (reference welcome). Y

Re: the event "ngx_master_14268" was not signaled for 5s

2022-02-24 Thread Maxim Dounin
Hello! On Thu, Feb 24, 2022 at 12:43:33PM -0500, swatluv wrote: > Thanks Maxim for the response. > any direction how to remove password from ssl key (I am using windows) ? You have to obtain working OpenSSL somewhere (something like https://wiki.openssl.org/index.php/Binaries might be a good p

About nginx and OCSP Must-Staple

2022-02-24 Thread wordlesswind via nginx
Hello guys, I enabled OCSP Must-Staple, then I found that after restarting nginx, I always get "MOZILLA_PKIX_ERROR_REQUIRED_TLS_FEATURE_MISSING" error when visiting my website for the first time. I think this error means that the server is not caching OCSP information. My nginx.conf is as f

Re: the event "ngx_master_14268" was not signaled for 5s

2022-02-24 Thread swatluv
Thanks Maxim for the response. any direction how to remove password from ssl key (I am using windows) ? And forgot to mention before I am using nginx 1.20.2 version if that makes any difference here. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293747,293749#msg-293749

Re: the event "ngx_master_14268" was not signaled for 5s

2022-02-24 Thread Maxim Dounin
Hello! On Thu, Feb 24, 2022 at 11:27:17AM -0500, swatluv wrote: > I started using nginx a week before and all naive. My client want to access > CMS using domain-int.com/myapplication for which I need to set up nginx. But > I am getting error when I edit my conf file ( I change server section) as

the event "ngx_master_14268" was not signaled for 5s

2022-02-24 Thread swatluv
Hello Members, I started using nginx a week before and all naive. My client want to access CMS using domain-int.com/myapplication for which I need to set up nginx. But I am getting error when I edit my conf file ( I change server section) as shown below server { listen 443 ssl;

Re: Nginx map assigned variable usage in upstream?

2022-02-24 Thread OS_Killer
Yes. Of course "fastcgi_pass $pool;". This should work. == Parameter value can contain variables. == https://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_pass Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293738,293742#msg-293742 __

Re: Nginx map assigned variable usage in upstream?

2022-02-24 Thread George
I see. I am currently trying to use the $pool assigned variable for PHP-FPM though as in fastcgi_pass $pool; and not proxy_pass Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293738,293741#msg-293741 ___ nginx mailing list -- nginx@nginx.o

Re: Nginx map assigned variable usage in upstream?

2022-02-24 Thread OS_Killer
Something like this: === map $uri$args $pool { default php2; "~/index.php/args" php1; } upstream php1 { zone php_zone 64k; server 127.0.0.1:9002; keepalive 2; } upstream php2 { zone php_zone 64k; server 127.0.0.1:9000; keepalive 2; } server { . proxy_pass http://$pool; } === Posted at

Re: Nginx map assigned variable usage in upstream?

2022-02-24 Thread OS_Killer
'$pool' variable will be created just after the request come. This is how the 'map' works. To make this work you will have to use this variable in "proxy_pass". === server { . proxy_pass http://$pool; } === Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293738,293739#msg-29

Nginx map assigned variable usage in upstream?

2022-02-24 Thread George
I am trying use a Nginx map assigned variable in an upstream but it doesn't seem to work? The map is concatenated $uri$args assigning a PHP-FPM fastcgi PHP pool to variable $pool and then setting the $pool variable in an upstream. map $uri$args $pool { default127.0.0.1:900

Re: Help with UDP load balancing passive health checks

2022-02-24 Thread Sergey Kandaurov
> On 23 Feb 2022, at 06:45, Pawel Fraczek wrote: > > Hi, I'm trying to building a syslog load balancer and I'm running into issues > with the failover of UDP messages. TCP works just fine, when the server goes > down, all messages failover to the active server. But with UDP, that does not >