Nginx and Set-Cookie

L. S. lsearchw at gmail.com
Thu Nov 19 12:21:16 MSK 2009


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 at 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;
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20091119/27b58393/attachment.html>


More information about the nginx mailing list