Re: least_conn method session issue

2022-10-21 Thread Dr_tux
For example: my dashboard url : https://my_dashboard:8000/#/index/login If such a URL is entered, can I say use ip_hash in reverse proxy? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,295575,295581#msg-295581 ___ nginx mailing list -- ng

Re: least_conn method session issue

2022-10-21 Thread Dr_tux
Thanks for your answer. I use the same application on AWS (With ELB support least_conn) and my java app is working properly. Is there any way to solve this issue on Nginx side ? Thanks. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,295575,295580#msg-295580 _

Re: least_conn method session issue

2022-10-21 Thread Maxim Dounin
Hello! On Fri, Oct 21, 2022 at 06:04:00PM -0400, Dr_tux wrote: > I use least_conn in Nginx (reverse proxy), but when I open the application's > dashboard, it logs out. It doesn't do this in ip_hash method. What should I > do for this? I m stuck in this situation, I can use least_conn on AWS and i

least_conn method session issue

2022-10-21 Thread Dr_tux
I use least_conn in Nginx (reverse proxy), but when I open the application's dashboard, it logs out. It doesn't do this in ip_hash method. What should I do for this? I m stuck in this situation, I can use least_conn on AWS and it 's working properly. Thanks in advance. Posted at Nginx Forum: ht

Re: Disabling keepalive

2022-10-21 Thread Maxim Dounin
Hello! On Fri, Oct 21, 2022 at 11:02:20AM -0400, libresco_27 wrote: > Is there a way to totally disable keepalive form upstream? Right now, I have > the following configuration in upstream to keep the figures to a minimum- > > keepalive: 1; > keepalive_requests: 1; > keepalive_timeout: 1s; > kee

Disabling keepalive

2022-10-21 Thread libresco_27
Hello, Is there a way to totally disable keepalive form upstream? Right now, I have the following configuration in upstream to keep the figures to a minimum- keepalive: 1; keepalive_requests: 1; keepalive_timeout: 1s; keepalive_time: 1s Since, I can't change the keepalive directive's value to 0,

Re: Custom 413 error pages when client_max_body_size exceeded

2022-10-21 Thread Dan G. Switzer, II
No, the 404 works as expected, the 413 does not. I’ll try building from source some time early next week to see if that fixes things. -Dan Sent from my iPhone > On Oct 20, 2022, at 7:49 PM, Sergey A. Osokin wrote: > > On Thu, Oct 20, 2022 at 04:25:33PM -0400, Dan G. Switzer, II wrote: >>