diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 9208223..2fe78f7 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -45,6 +45,10 @@ server { proxy_set_header X-Forwarded-Proto $scheme; proxy_cache_bypass $http_upgrade; + # Cookie传递配置(验证码session需要) + proxy_set_header Cookie $http_cookie; + proxy_pass_header Set-Cookie; + # 增加超时时间支持大文件上传 proxy_connect_timeout 300; proxy_send_timeout 300;