Re: Variable “set” in map with an Header Value was lost when we delete the header.

podzol33 nginx-forum at forum.nginx.org
Fri Jan 14 15:10:14 UTC 2022


Thans you very well for your response.
In fact, it works with 
log_format formatjson escape=json '{
'"tomcat_container_id": "$upstream_http_container_id" }';
proxy_hide_header Container-Id; define in my vhost configuration.
I have the log AND the header deleted in the browser client.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293336,293359#msg-293359



More information about the nginx mailing list