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
anyways!)
Am Do., 14. März 2019 um 18:49 Uhr schrieb Reinis Rozitis <r@roze.lv>:
> > 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
>
--
Stefan Meier
Kusken 21
DK-7500 Holstebro
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx