URGENT: cookies don't work with nginx (proxying to apache!)

pk899 nginx-forum at nginx.us
Sun Jun 5 20:19:08 MSD 2011

Hi. nginx is proxying to apache. Everything works. 

Except cookies. My php pages seem just not to be able to set cookies! 

Is there any specific directive that I should watch out for? 

Could proxy_cache stuff be interfering with it maybe? 

My nginx.conf file is here: 

My proxy.inc file is here: 

Silly question: I am passing the header "Set Cookie". Is there a header
for "Get Cookie"?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,204130,204130#msg-204130

More information about the nginx mailing list