Re: Proxy domain rewrite using proxy_cookie_domain

2016-02-15 Thread Maxim Dounin
Hello! On Mon, Feb 15, 2016 at 01:29:01AM -0500, nitin wrote: > Thanks for reply. > In case client is just a browser then it will send all the cookies with NGIX > domain which means that NGIX will send all the cookies to backend server > irrespective of who initially set it in set-cookie header..

Re: Proxy domain rewrite using proxy_cookie_domain

2016-02-14 Thread nitin
Thanks for reply. In case client is just a browser then it will send all the cookies with NGIX domain which means that NGIX will send all the cookies to backend server irrespective of who initially set it in set-cookie header.. This could be a security issue then. Posted at Nginx Forum: https://f

Re: Proxy domain rewrite using proxy_cookie_domain

2016-02-12 Thread Maxim Dounin
Hello! On Fri, Feb 12, 2016 at 02:22:20PM -0500, nitin wrote: > I want to rewrite domains in the cookie when NGIX is acting as reverse > proxy. I see that NGIX support this using proxy_cookie_domain module. > > But I am unable to find out where does it keep the original domain which is > being r

Proxy domain rewrite using proxy_cookie_domain

2016-02-12 Thread nitin
I want to rewrite domains in the cookie when NGIX is acting as reverse proxy. I see that NGIX support this using proxy_cookie_domain module. But I am unable to find out where does it keep the original domain which is being replaced? In my opinion NGIX would need the original domain to find out whe