snippetbashTip
squid — Cache and forward HTTP requests through a proxy server. More information: <https://manned.org/squid>
Viewed 0 times
httpcommandsquidandcacherequestscliforward
Problem
How to use the
squid command: Cache and forward HTTP requests through a proxy server. More information: <https://manned.org/squid>.Solution
squid — Cache and forward HTTP requests through a proxy server. More information: <https://manned.org/squid>.Start Squid in the background:
sudo squidStart Squid in the foreground:
sudo squid -NStart Squid with a specific configuration file:
sudo squid -f {{path/to/squid.conf}}Test the configuration file for errors:
sudo squid -k parseReload the configuration file:
sudo squid -k reconfigureShut down Squid gracefully:
sudo squid -k shutdownRotate the log files:
sudo squid -k rotateCode Snippets
Start Squid in the background
sudo squidStart Squid in the foreground
sudo squid -NStart Squid with a specific configuration file
sudo squid -f {{path/to/squid.conf}}Test the configuration file for errors
sudo squid -k parseReload the configuration file
sudo squid -k reconfigureContext
tldr-pages: common/squid
Revisions (0)
No revisions yet.