how to use keepalive with Nginx revers proxy?
Makailol Charls
makailol7 at gmail.com
Wed Apr 2 13:25:42 UTC 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140402/86c6bc0c/attachment.html>
More information about the nginx
mailing list