B.R.
March 26, 2016 06:36AM
Make sure you test this unexpected behavior with a minimal, reproducible
configuration.
If you succeed, please share it or (even better!) fill a bug report
https://trac.nginx.org/. Otherwise, that meant you probably did something
Wrong.

​You were previously saying proxy_hise_headers did not pass cookies to the
client. Now yo uare saying clients are able to grab their cookie.
I am a bit confused, here...​
---
*B. R.*

On Fri, Mar 25, 2016 at 10:33 PM, john_smith77 <nginx-forum@forum.nginx.org>
wrote:

> So I found a solution and it seems like there is unexpected behavior from
> nginx. proxy_hide_header Set-Cookie does not seem to work when the location
> block is set to /
>
> So:
>
> location / {
> #Lots of other proxy stuff here......
> proxy_hide_header "Set-Cookie"; }
>
> does not allow a cookie to ever be set, but:
>
> location ~home.html {
> #Lots of other proxy stuff here......
> proxy_hide_header "Set-Cookie"; }
>
> will allow cache HITS but won't cache Set-Cookie headers. Clients are still
> able to get the cookies from the back end and will never get another users
> session cookies.
>
> Posted at Nginx Forum:
> https://forum.nginx.org/read.php?2,265629,265658#msg-265658
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Homepage cache and cookies

john_smith77 March 24, 2016 09:14AM

Re: Homepage cache and cookies

B.R. March 24, 2016 01:06PM

Re: Homepage cache and cookies

john_smith77 March 24, 2016 04:31PM

Re: Homepage cache and cookies

B.R. March 25, 2016 04:40AM

Re: Homepage cache and cookies

john_smith77 March 25, 2016 09:06AM

Re: Homepage cache and cookies

john_smith77 March 25, 2016 05:33PM

Re: Homepage cache and cookies

ph.gras March 25, 2016 06:10PM

Re: Homepage cache and cookies

B.R. March 26, 2016 06:36AM

Re: Homepage cache and cookies

john_smith77 March 28, 2016 09:51AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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