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

Mirosław Jaworski mjaw at ikp.pl
Mon Mar 1 21:10:27 MSK 2010


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?




More information about the nginx mailing list