nginx jsessionidcookie未缓存,导致cookie变化

xiaoxiao2025-06-26  15

upstream bakend{ server 127.0.0.1:9999; #sticky_cookie_insert srv_id expires=1h domain=1.1.1.1 path=/; } server { listen 80; server_name localhost; location /gsd { #proxy_read_timeout 120; proxy_set_header Cookie $http_cookie; proxy_pass http://bakend/project/commonIndex; proxy_cookie_path /project /; } #location /index.html { # allow all; # } location / { root /etc/nginx/html; index index.html index.htm; } }
转载请注明原文地址: https://www.6miu.com/read-5032559.html

最新回复(0)