Welcome! Log In Create A New Profile

Advanced

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

June 05, 2011 12:19PM
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:
http://tinypaste.com/18331

My proxy.inc file is here:
http://tinypaste.com/a499c

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

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

pk899 June 05, 2011 12:19PM

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

pk899 June 05, 2011 01:04PM

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

Cliff Wells June 05, 2011 01:32PM

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

Cliff Wells June 05, 2011 02:02PM

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

pk899 June 05, 2011 02:19PM

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

Cliff Wells June 05, 2011 03:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 126
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready