Welcome! Log In Create A New Profile

Advanced

how to use keepalive with Nginx revers proxy?

Makailol Charls
April 02, 2014 09:28AM
Hi,

Can some one provide me an example to set keep alive connection between
Nginx(reverse proxy) and backend server?

I can not use upstream module as my backend IP is dynamic based on
variable. So I can not use keepalive directive of upstream.

I have used below directive in location block.
proxy_pass http://$IP ;

Thanks,
Makaikol
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

how to use keepalive with Nginx revers proxy?

Makailol Charls April 02, 2014 09:28AM

Re: how to use keepalive with Nginx revers proxy?

Maxim Dounin April 02, 2014 10:02AM

Re: how to use keepalive with Nginx revers proxy?

Makailol Charls April 03, 2014 12:02AM

Re: how to use keepalive with Nginx revers proxy?

Maxim Dounin April 03, 2014 09:04AM

Re: how to use keepalive with Nginx revers proxy?

winghokwan December 13, 2015 09:27PM

Re: how to use keepalive with Nginx revers proxy?

winghokwan December 13, 2015 09:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 76
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready