[squid-users] How to add extra header in response in squid
nikhil deshpande
nikhildeshpande18 at gmail.com
Tue Aug 20 10:27:41 UTC 2024
Hi tea,
We are using squid as proxy. We have two open ports in squid.
Port 1 is transparent proxy with configuration like below
http_port 127.0.0.1:12121
Port 2 is cache proxy which cache all GET calls with configuration like
below
http_port 127.0.0.1:12122 ssl-bump
generate-host-certificates=on dynamic_cert_mem_cache_size=4MB
cert=/CAGS/ssl/appliance.chain
I want to add a response header in my response which we give from squid. We
are using below directive for the same
reply_header_add header_name header_value
It seems the below configuration is working fine with port # 2 (cache port)
however it does not work for port #1 (tunnel proxy). Can someone tell how
can I add custom response header for my all open ports?
Regards,
Nikhil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20240820/9181ce2e/attachment.htm>
More information about the squid-users
mailing list