Re: Re: share cookies between servers

2019-01-12 Thread Francis Daly
On Fri, Jan 11, 2019 at 07:59:47PM +0800, David Ni wrote: Hi there, > auth_ldap "Restricted Space"; > auth_ldap_servers bigdataldap; > > location / { >proxy_pass http://datanode02:16010/; > add_header Set-Cookie > "myauth=true;Domain=.bddev.test.net;Path=/;Max-Age=31536000"; >

Re: share cookies between servers

2019-01-10 Thread Francis Daly
On Thu, Jan 10, 2019 at 05:14:17PM +0800, David Ni wrote: Hi there, > I have one requirement right now,we are using nginx with ldap auth ... > my requirement is that whether datanode02.bddev.test.net > datanode03.bddev.test.net can share cookies between each other, Read about http cookies,