mirror of
https://github.com/allankoechke/turso.git
synced 2026-11-30 11:12:58 +00:00
40 lines
749 B
SquidConf
40 lines
749 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 \
|
|
.claude.ai \
|
|
.claude.com \
|
|
.platform.claude.com \
|
|
.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
|