I've been able to pinpoint the cause, but I don't really understand it too well. add_header Set-Cookie "username=$http_matricola; Path=/" always; when a file like this is requested /static/js/xxx.js it generates the username=yyy header under the /static/js path, but then the file /static/js/xxx.js.map is authomatically requested and served by nginx, and that overridesby Tyler_durden_83 - How to...
Dear friends, I'm using a nginx dockerized image with this server block: server { listen 80; listen [::]:80; server_name localhost; location / { add_header Set-Cookie "username=$http_matricola; Domain=localhost; SameSite=Lax; Path=/" always; root /usr/share/nginx/html; index index.html index.htm; } } My nginx homepage wasby Tyler_durden_83 - How to...
Anyone has found a way to resolve this? Seems like a pretty big deal to me, it completely breaks porting of microservices to Openshift...by Tyler_durden_83 - Nginx Mailing List - English
Dear friends, I'll go straight to the point. This is my nginx.conf: set $upstream_portainer "http://my_portainer-service:9000"; location /portainer/ { proxy_http_version 1.1; proxy_set_header Host $http_host; # required for docker client's sake proxy_set_header X-Real-IP $remote_addr; # pass on real client'sby Tyler_durden_83 - How to...