TECHIES WORLD

For Techs.... Techniques.... Technologies....

Linux

How to disable Squid proxy header in Linux

Open /etc/squid/squid.conf file

# vi /etc/squid/squid.conf

Append the following lines to the end of this file

forwarded_for off
request_header_access X-Forwarded-For deny all
request_header_access Via deny all

Restart squid

#/etc/init.d/squid restart

Leave a Reply