Добавить squid.proxy
Deploy ru-vps / deploy (push) Successful in 46s

This commit is contained in:
Dmitry
2026-06-07 09:25:05 +03:00
parent 7b1c637a76
commit 05c38bb63f
2 changed files with 20 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
services:
squid:
image: ubuntu/squid
ports:
- "3128:3128"
volumes:
- ./squid.conf:/etc/squid/squid.conf:ro
- /opt/data/squid/passwd:/etc/squid/passwd:ro
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
+9
View File
@@ -0,0 +1,9 @@
auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/external/passwd
acl authenticated proxy_auth REQUIRED
http_access allow authenticated
http_access deny all
cache_peer host.docker.internal parent 20171 0 no-query default
never_direct allow all
http_port 3128