Cookie forwarding when using reverse proxy

Liang Jin mywebadmin at gmail.com
Thu May 3 13:51:40 MSD 2007


Hi,

I am wondering whether it is possible to do the following trick:

Senario:
    Frontend nginx server is accepting requests for site A
(domain1.com) and will reverse proxy to internal site B (domain2.com).
    There are cookies set for site A and they are not directly
available to the backend site B (different domain).

So, my question is : would it be possible for nginx to forward the
cookies, that are set for domain1.com, to domain2.com.

Thanks.

-Liang





More information about the nginx mailing list