nginx session 丢失解决
location /ckl {proxy_passhttp://localhost:8080/ckl/;
proxy_cookie_path /ckl /; #增加此行
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
proxy_read_timeout60s;
proxy_connect_timeout 60s;
proxy_send_timeout 60s;
proxy_set_header X-Forwarded-Proto https;
proxy_intercept_errors on;
}
页:
[1]