Reverse proxy- cache not passing the cookies from the proxied server.. Why?

David Taveras d3taveras38d3 at gmail.com
Mon Mar 1 22:47:41 MSK 2010


Thanks,

why I dont understand was why was this to be explicitly declared?

I didnt set any proxy_hide_header before.. I would assume it would be
passed automatically?

Andres



2010/3/1 Mirosław Jaworski <mjaw at ikp.pl>:
> On Mon, 2010-03-01 at 11:56 -0600, David Taveras wrote:
>> Btw.. the sessionid is getting passed back to the client as a cookie.
>> That is what is not being set.
>
>       location / {
>            proxy_pass http://www.mysite.com/;
>            proxy_cache        cache;
>            proxy_pass_header  Set-Cookie;
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>        }
>
>
> --
> Miroslaw "Psyborg" Jaworski
> GCS/IT d- s+:+ a C++$ UBI++++$ P+++$ L- E--- W++(+++)$ N++ o+ K- w-- O-
> M- V- PS+ PE++ Y+ PGP t 5? X+ R++ !tv b++(+++) DI++ D+ G e* h++ r+++ y?
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list