
first time using docker and nginx reverse proxy.
Setup
- Dockerized front with Vuejs behind localhost:4200
- Dockerized back with Symfony behind a dockerized nginx on localhost:80
Trouble
Every time I add a cookie to the response, the Set-Cookie get ignored by the front.
Telling me:
This Set-Cookie was blocked because its Domain attribute was invalid with regards to the current host url.
What I tried
- Add different domain to the cookie config.
- Add a new header within nginx.
As I said, I m new with this setup, can’t figure if the problem come from nginx or the cookie config.
Source: Symfony Questions
Was this helpful?
0 / 0