We are using the following architecture to maintain HA for Nginx . Machine1 { Keepalived -> LVS } -> Nginx Machine2 { Keepalived -> LVS } -> Nginx . VIP - managed by Keepalived LVS with keepalived in HA , as layer 4 Load balancer Nginx multiple machines . This might help : https://programming.vip/docs/setup-of-linux-high-availability-lvs-load-balancing-cluster-keepalived-lvs-dr.htby cacrus - Nginx Mailing List - English
Look into *proxy_read_timeout* *time*; https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_read_timeout *proxy_connect_timeout* *time*; https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_connect_timeout On Wed, Jun 27, 2018 at 1:57 PM duda <nginx-forum@forum.nginx.org> wrote: > Hi > > I have one backend: > > upstream backend_1 { > serverby cacrus - Nginx Mailing List - English
HI , Is there a way to log all incoming requests on Nginx . Regardless of them being served or not . For example, In case of surge of crawler hits , if the upstream backend cannot perform and requests hang , nginx will not log any such failed request . How can we log them to have more detail on the surges of requests. Thanks _______________________________________________ nginx mailing listby cacrus - Nginx Mailing List - English
excess: 10.200 in above log means that the requests are being limited as they are averaging at 10.2 requests / second . Storage size is defined with a unit , For example zone=one:10m . This means 10 MB . I hope it helped. On Sat, Feb 20, 2016 at 12:54 AM, Muhammad Rehan <muhammadrehan69@gmail.com> wrote: > Hi, I am still looking for reply. Does anyone know about this? > On Feb 1by cacrus - Nginx Mailing List - English
Thanks for the replies . I figured out the issue . This was not related to Nginx Config . The requests i was trying to route had an issue . Btw , I shifted to map as well and both configurations worked. Thanks for your comments and appreciate it .by cacrus - Nginx Mailing List - English
Hi , I am trying to setup different authentication based on different strings in the $request , here is my case . location /parent/ { set $basic_file /nginx/conf/.htpasswd; if ($request_uri ~ (visualize|dashboard|settings)){ set $basic_file /nginx/conf/.dev_pass; } proxy_pass http://<sby cacrus - Nginx Mailing List - English
Dear Nginx community , I am running nginx 1.04 , ( also tried 1.0 ) , and the backend has an ejabber server serving http requests. I am experiencing delays in requests being served when i serve the request via nginx , whereas serving the same request from the backend works without any delay . On debugging , i can see that nginx received a response from backend within milliseconds but iby cacrus - Nginx Mailing List - English