Files
turso/.devcontainer/squid.conf
2026-08-25 15:43:43 -04:00

42 lines
790 B
SquidConf

http_port 3128
# DNS
dns_v4_first on
# Allowed domains
acl allowed dstdomain \
.pythonhosted.org \
.pypi.org \
.crates.io \
.static.rust-lang.org \
.npmjs.org \
.nodejs.org \
.github.com \
.githubusercontent.com \
.go.dev \
.golang.org \
.anthropic.com \
.chatgpt.com \
.claude.ai \
.claude.com \
.platform.claude.com \
.openai.com \
.api.openai.com \
.sentry.io \
.statsig.com \
.visualstudio.com \
.windows.net
# Allow HTTPS CONNECT only to allowed domains
acl SSL_ports port 443
acl Safe_ports port 80 443
acl CONNECT method CONNECT
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow allowed
http_access deny all
# Logging
access_log stdio:/var/log/squid/access.log