Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
server_configuration:squid [2021/04/15 07:41] – david | server_configuration:squid [2025/03/27 15:42] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 32: | Line 32: | ||
</ | </ | ||
+ | Configure password store using apache, see docs online... I didn't set this up yet (I limited by IP). | ||
< | < | ||
400 apt-get install apache2-utils | 400 apt-get install apache2-utils | ||
Line 50: | Line 51: | ||
< | < | ||
# Add rule (BEFORE line matching sed pattern) | # Add rule (BEFORE line matching sed pattern) | ||
- | sed -i '/ | + | sed -i '/ |
- | + | sed -i '/ | |
- | # Add rule (AFTER line matching sed pattern) | + | |
- | sed -i '/ | + | |
# Delete rule by sed pattern | # Delete rule by sed pattern | ||
- | sed -i '/http_access allow xxx.xxx.xxx.xxx/ | + | sed -i '/acl my_allow_ip src xxx.xxx.xxx.xxx/ |
</ | </ | ||
Line 67: | Line 66: | ||
</ | </ | ||
- | Stopping | + | ===== Stopping |
< | < | ||
# Kill squid | # Kill squid |