Опять прокси новый
Deploy ru-vps / deploy (push) Successful in 24s

This commit is contained in:
Dmitry
2026-06-08 19:31:18 +03:00
parent 4a80762cbc
commit 573590ef45
112 changed files with 59 additions and 35 deletions
+27
View File
@@ -0,0 +1,27 @@
# Аутентификация
auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm Squid Proxy
auth_param basic credentialsttl 2 hours
# ACL для аутентифицированных пользователей
acl authenticated proxy_auth REQUIRED
# Родительский прокси (Mihomo)
cache_peer 127.0.0.1 parent 7890 0 no-query default
never_direct allow all
# Порт для прослушивания
http_port 3128
# ПРАВИЛА ДОСТУПА (ВАЖНЫЙ ПОРЯДОК!)
http_access allow authenticated
http_access deny all
# Отключаем кеш
cache deny all
cache_log /dev/null
cache_store_log none
# Логи
access_log daemon:/var/log/squid/access.log squid