On Mon, Mar 25, 2019 at 04:11:50PM +0800, David Ni wrote:
Hi there,
>I tried to set cookies like this
You should not be setting cookies, in this case.
If your "session" information is handled by cookies, you must modify the
cookies before they go to the client, in order to convince the clie
Hi Francis
I tried to set cookies like this
server {
listen 80;
server_name datanode02.bddev.test.net;
error_log /var/log/nginx/error_for_bigdata.log info;
access_log /var/log/nginx/http_access_for_bigdata.log main;
##here to check whether logged_in cookie was set
if ($cookie_l
Hi Francis
I tried to set cookies like this
server {
listen 80;
server_name datanode02.bddev.test.net;
error_log /var/log/nginx/error_for_bigdata.log info;
access_log /var/log/nginx/http_access_for_bigdata.log main;
##here to check whether logged_in cookie was set
if ($cookie_l
Hi Francis
I tried to set cookies like this
server {
listen 80;
server_name datanode02.bddev.test.net;
error_log /var/log/nginx/error_for_bigdata.log info;
access_log /var/log/nginx/http_access_for_bigdata.log main;
##here to check whether logged_in cookie was set
if ($cookie_l
On Fri, Mar 22, 2019 at 02:47:36PM +0800, David Ni wrote:
Hi there,
> Who can help with this?Thanks very much.
The question looks very like the one at
https://forum.nginx.org/read.php?2,282620,282620
I presume that the answer remains the same.
Which is: if "Domain" works for you, add it to
Just for your information,
Cookie is stored on client side, there’s no need to share btw.
> On Mar 22, 2019, at 1:47 PM, David Ni wrote:
>
> Hi Experts,
> Who can help with this?Thanks very much.
>
>
>
>
>
> At 2019-03-15 16:36:22, "David Ni" wrote:
> Hi Nginx Experts,
> I have on
Hi Nginx Experts,
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