Welcome! Log In Create A New Profile

Advanced

Re: Nginx and Set-Cookie

L. S.
November 19, 2009 04:24AM
I solved it!
I was trying to recover, build, and run my application from a backup after
my development machine died, but I was juggling too many tasks. So I was
erroneously looking for the cookie headers from nginx by doing this:
curl -i http://my.host/ | less
When I was meaning to do this:
curl -i http://my.host/fcgi/myapp | less

Therefore, I was calling index.html instead of my fastcgi process and
obviously getting no cookies. I took a short break, came back and
immediately noticed the error.

Thanks!

On Thu, Nov 19, 2009 at 12:11 AM, Eren Türkay <eren@pardus.org.tr> wrote:

> On Tuesday 17 November 2009 11:56:39 pm L. S. wrote:
> > My FastCGI process sends cookies, but they are not being sent to the
> > browser. Why does nginx not send the cookie header?
>
> Can you try explicitly set proxy header to pass with this setting?
>
> proxy_pass_header Set-Cookie;
>
>
Subject Author Posted

Nginx and Set-Cookie

L. S. November 17, 2009 05:02PM

Re: Nginx and Set-Cookie

Jérôme Loyet November 17, 2009 05:12PM

Re: Nginx and Set-Cookie

L. S. November 17, 2009 06:30PM

Re: Nginx and Set-Cookie

Eren Türkay November 19, 2009 03:18AM

Re: Nginx and Set-Cookie

L. S. November 19, 2009 04:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 267
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