Welcome! Log In Create A New Profile

Advanced

proxy_socket_keepalive how to?

November 27, 2020 06:29AM
Hi,
I need to enable tcp keepalive messages betwin nginx and backend. There is POST which have to be replyed from backend within about 40-50 minutes but my session closed by timeout(2 hour), i think it is firewall wich drop session from nginx to backend due unactivity. If I make a curl directly to backend from nginx server, there are tcp keepalive in tcpdump and I receive reply from backend in 40 minutes. Tried to use proxy_socket_keepalive=on in location section but tcpkeepalive not appear in tcpdump and session stil close by timeout. So what is the proper way to enable proxy_socket_keepalive?
Subject Author Posted

proxy_socket_keepalive how to?

narksu November 27, 2020 06:29AM

Re: proxy_socket_keepalive how to?

Francis Daly November 27, 2020 07:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 272
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready