<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Just for your information,<div class=""><br class=""></div><div class="">Cookie is stored on client side, there’s no need to share btw.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Mar 22, 2019, at 1:47 PM, David Ni <<a href="mailto:zn1314@126.com" class="">zn1314@126.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="line-height: 1.7; font-size: 14px; font-family: Arial;" class=""><div class="">Hi Experts,</div><div class="">    Who can help with this?Thanks very much.<br class=""><br class=""><br class=""><br class=""><br class=""></div><div style="position: relative; -ms-zoom: 1;" class=""></div><div id="divNeteaseMailCard" class=""></div><div class=""><br class=""></div>At 2019-03-15 16:36:22, "David Ni" <<a href="mailto:zn1314@126.com" class="">zn1314@126.com</a>> wrote:<br class=""> <blockquote id="isReplyContent" style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class=""><div style="line-height: 1.7; font-family: Arial; font-size: 14px;" class=""><div style="line-height: 1.7; font-family: Arial; font-size: 14px;" class=""><div class="">Hi Nginx Experts,</div><div class=""> 
   I have one requirement right now,we are using nginx with ldap 
auth(I compiled nginx with auth_ldap module),and I created many servers like <a href="http://datanode02.bddev.test.net" class="">datanode02.bddev.test.net</a>  
<a href="http://datanode03.bddev.test.net" class="">datanode03.bddev.test.net</a>,I have successfully conigured nginx with ldap auth,so when I access these servers ,we need to input
 the correct username and password which stored in ldap,my requirement 
is that whether <a href="http://datanode02.bddev.test.net" class="">datanode02.bddev.test.net</a> <a href="http://datanode03.bddev.test.net" class="">datanode03.bddev.test.net</a> can 
share cookies or session with each other,so that if I have accessed 
<a href="http://datanode02.bddev.test.net" class="">datanode02.bddev.test.net</a> successfully,I don't need to input username 
and password  when I access <a href="http://datanode03.bddev.test.net" class="">datanode03.bddev.test.net</a> , is this possible?
 If possible,how to achieve  this?Thanks very much!</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="">server {</div><div class="">  listen 80;</div><div class="">  server_name <a href="http://datanode02.bddev.test.net" class="">datanode02.bddev.test.net</a>;</div><div class="">  error_log  /var/log/nginx/error_for_bigdata.log  info;</div><div class="">  access_log  /var/log/nginx/http_access_for_bigdata.log  main;</div><div class="">  auth_ldap "Restricted Space";</div><div class="">  auth_ldap_servers bigdataldap;</div><div class=""><br class=""></div><div class="">  location / {</div><div class="">           proxy_pass <a href="http://dev-datanode02:8042/" class="">http://dev-datanode02:8042/</a>;</div><div class="">           more_clear_headers "X-Frame-options";</div><div class="">  }</div><div class="">}</div><div class="">server {</div><div class="">  listen 80;</div><div class="">  server_name <a href="http://datanode03.bddev.test.net" class="">datanode03.bddev.test.net</a>;</div><div class="">  error_log  /var/log/nginx/error_for_bigdata.log  info;</div><div class="">  access_log  /var/log/nginx/http_access_for_bigdata.log  main;</div><div class="">  auth_ldap "Restricted Space";</div><div class="">  auth_ldap_servers bigdataldap;</div><div class=""><br class=""></div><div class="">  location / {</div><div class="">           proxy_pass <a href="http://dev-datanode03:8042/" class="">http://dev-datanode03:8042/</a>;</div><div class="">           more_clear_headers "X-Frame-options";</div>  }</div><div class="">}<br class=""></div></div></div><br class=""><br class=""><span title="neteasefooter" class=""><div class=""> <br class="webkit-block-placeholder"></div></span></blockquote></div><br class=""><br class=""><span title="neteasefooter" class=""><div class=""> <br class="webkit-block-placeholder"></div></span>_______________________________________________<br class="">nginx mailing list<br class=""><a href="mailto:nginx@nginx.org" class="">nginx@nginx.org</a><br class="">http://mailman.nginx.org/mailman/listinfo/nginx</div></blockquote></div><br class=""></div></body></html>