Cookie path with reverse proxy

Stefan Meier meier.stefan at
Fri Mar 15 09:39:26 UTC 2019

Thanks for the answer Reinis.

The directive proxy_cookie_path is for sure the solutions for the problem I
described in this mail.

(But I just found out that my cookie wasn't set from the serverside API but
on the client side. So the problem wasn't the NGINX config. Thank you

Am Do., 14. März 2019 um 18:49 Uhr schrieb Reinis Rozitis <r at>:

> > Is there a way to set the path of the cookies to /, regardless which GUI
> is used?
> Yes you can make nginx to change the cookie
> If the path from the backend app is unknown you can probably use a regex
> to match everything:
> proxy_cookie_path ~*^/.* /;
> rr
> _______________________________________________
> nginx mailing list
> nginx at

Stefan Meier
Kusken 21
DK-7500 Holstebro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list