Files
infra/ru-vps/squid/entrypoint.sh
T
Dmitry 322bfa9513
Deploy ru-vps / deploy (push) Failing after 20s
Добавить 3proxy к squid
2026-06-08 18:55:05 +03:00

11 lines
176 B
Bash

#!/bin/sh
cat > /tmp/3proxy.cfg << EOF
daemon
log /dev/stdout
auth strong
users ${PROXY_USER}:CL:${PROXY_PASS}
allow ${PROXY_USER}
socks -p1080
EOF
exec 3proxy /tmp/3proxy.cfg