Can I set two custom headers 'set-cookie' in response, or more?
I was tried:
But i see only one header
set-cookie: foo=bar;path=/ in response. Only the one declared first in the ingress route
Thanks for your interest in Traefik.
The current behavior of the header middleware is to replace the header value.
It is not possible to append the values in the cookie in Traefik.
If you need more help, could you describe your use case?
I want to pass two parameters in a cookie (they will be different for dev and prod environments) when requesting my SPA from the server. So far, I see only one solution: pass JSON in one cookie parameter and parse it in SPA
Seems to be a good solution.
Let me know if you need more help on this.