Cookie forwarding when using reverse proxy

Igor Sysoev is at
Thu May 3 16:04:50 MSD 2007

On Thu, May 03, 2007 at 02:51:40AM -0700, Liang Jin wrote:

> I am wondering whether it is possible to do the following trick:
> Senario:
>    Frontend nginx server is accepting requests for site A
> ( and will reverse proxy to internal site B (
>    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, to

Browsers see you site as, so they will send
cookies. nginx passes all headers inlcuding "cookie" to a backend.

Igor Sysoev

More information about the nginx mailing list