Welcome! Log In Create A New Profile

Advanced

Using nginx for dynamic reverse proxy

Posted by webtechnovice 
Using nginx for dynamic reverse proxy
August 13, 2013 11:40AM
Hi,

I am a newbie to web servers and associated technologies.
I am trying to deploy nginx server as reverse proxy server that has multiple http servers in the backend.
Based on user identity, list of backend servers is displayed to user. A user is allowed to access multiple backend servers.
When user connects to a backend, I set cookie value to ip address of the backend and same value is sent back from browser for every subsequent request.
I use value of a static cookie name (that browser send with each request) on nginx server to determine the target of an incoming request.
However, if user tries to open up a different backend server in different tab, the cookie value gets overwritten with latest value because cookies are shared across in a web browser.

Is there a way to address to such problem using nginx server or nginx modules?

Thanks!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 66
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