Set-Cookie header is not set/passed when cookie is being used

Issue #43 new
David Sokolik created an issue

Hey All, using this module with NGINX 1.15.2

if I run curl -c cookiefile path I will receive a set-cookie header with all the valid information.

but when I try to use this cookie with curl -b cookiefile path

the NGINX response will not include the set-cookie header and values.

now load balancing will work, I will always reach the same upstream server in the backend but the header will not be showed / passed.

I've tried multiple settings in NGINX config for example:

    proxy_cookie_path ~*^/.* /;
    proxy_set_header Upgrade Set-Cookie;
    proxy_pass_header Set-Cookie;
    proxy_pass_header P3P;
    proxy_ignore_headers Set-Cookie;

None of these helped and the set-cookie header is still is not being returned.

Comments (0)

  1. Log in to comment