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: Location

2019-01-12 Thread basti
On 11.01.19 22:04, petrosetta wrote: > 2. An outside user hits https://www.mydomain.com/webdev NGINX redirects him > to the internal site https://devapp.mydomain.com How does an image link look like in this case? Have you try to create an location /webdev and redirect this to devapp in your confi