<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi Experts,</div><div> Who can help with this?Thanks very much.<br><br><br><br><br></div><div style="position: relative; -ms-zoom: 1;"></div><div id="divNeteaseMailCard"></div><div><br></div>At 2019-03-15 16:36:22, "David Ni" <zn1314@126.com> wrote:<br> <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;"><div style="color: rgb(0, 0, 0); line-height: 1.7; font-family: Arial; font-size: 14px;"><div style="color: rgb(0, 0, 0); line-height: 1.7; font-family: Arial; font-size: 14px;"><div>Hi Nginx Experts,</div><div>
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 datanode02.bddev.test.net
datanode03.bddev.test.net,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 datanode02.bddev.test.net datanode03.bddev.test.net can
share cookies or session with each other,so that if I have accessed
datanode02.bddev.test.net successfully,I don't need to input username
and password when I access datanode03.bddev.test.net , is this possible?
If possible,how to achieve this?Thanks very much!</div><div><br></div><div><br></div><div><div>server {</div><div> listen 80;</div><div> server_name datanode02.bddev.test.net;</div><div> error_log /var/log/nginx/error_for_bigdata.log info;</div><div> access_log /var/log/nginx/http_access_for_bigdata.log main;</div><div> auth_ldap "Restricted Space";</div><div> auth_ldap_servers bigdataldap;</div><div><br></div><div> location / {</div><div> proxy_pass http://dev-datanode02:8042/;</div><div> more_clear_headers "X-Frame-options";</div><div> }</div><div>}</div><div>server {</div><div> listen 80;</div><div> server_name datanode03.bddev.test.net;</div><div> error_log /var/log/nginx/error_for_bigdata.log info;</div><div> access_log /var/log/nginx/http_access_for_bigdata.log main;</div><div> auth_ldap "Restricted Space";</div><div> auth_ldap_servers bigdataldap;</div><div><br></div><div> location / {</div><div> proxy_pass http://dev-datanode03:8042/;</div><div> more_clear_headers "X-Frame-options";</div> }</div><div>}<br></div></div></div><br><br><span title="neteasefooter"><p> </p></span></blockquote></div><br><br><span title="neteasefooter"><p> </p></span>