Welcome! Log In Create A New Profile

Advanced

RE: Cookie path with reverse proxy

Reinis Rozitis
March 14, 2019 01:50PM
> 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
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cookie_path


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@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Cookie path with reverse proxy

Stefan Meier March 14, 2019 12:40PM

RE: Cookie path with reverse proxy

Reinis Rozitis March 14, 2019 01:50PM

Re: Cookie path with reverse proxy

Stefan Meier March 15, 2019 05:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 66
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready