Skip to content

Commit

Permalink
squid: Denying only for store ID internal domain seems to not work.
Browse files Browse the repository at this point in the history
  • Loading branch information
JGoutin committed May 1, 2023
1 parent 7685a90 commit a6ac80c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions roles/squid/templates/squid.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,8 @@ store_id_program /usr/lib64/squid/storeid_file_rewrite /etc/squid/dnf_mirrors

# Avoid redirection loops
acl SafeStatus http_status 200-299
acl StoreIdDomains dstdomain .squid.internal
store_miss deny StoreIdDomains !SafeStatus
send_hit deny StoreIdDomains !SafeStatus
store_miss deny !SafeStatus
send_hit deny !SafeStatus

# Allow caching of "repodata/*.xml.zck"
range_offset_limit 128 MB
Expand Down

0 comments on commit a6ac80c

Please sign in to comment.