-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsquid-cm.yaml
101 lines (93 loc) · 1.97 KB
/
squid-cm.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
apiVersion: v1
kind: ConfigMap
metadata:
name: squid-config
data:
squid.conf: |
http_port {{ .Values.squid.service.port }}
visible_hostname squid
cache deny all
cache_mem 0 MB
cache_dir null /tmp
acl allowed_sites dstdomain "/etc/squid/allowed-sites.txt"
acl SSL_ports port 443
acl CONNECT method CONNECT
http_access deny CONNECT !SSL_ports
http_access allow allowed_sites
http_access deny all
allowed-sites.txt: |
# Chutes.
.chutes.ai
.chutes.dev
# Hugging Face domains
.huggingface.co
.huggingface.net
.hf.space
.hf.co
# Model and Dataset Repositories
.civitai.com
.modelscope.cn
.weights.ggmlv3.model
.weights.gguf.model
.pytorch.org
.torchvision.org
.tensorflow.org
.tfhub.dev
.nvidia.github.io
.ngc.nvidia.com
.developer.nvidia.com
.files.pythonhosted.org
.github.com
.githubusercontent.com
.objects.githubusercontent.com
.raw.githubusercontent.com
.gitlab.com
.anaconda.org
.anaconda.com
.pip.pypa.io
.pypi.org
.pypi.python.org
# Common CDNs
.cloudfront.net
.fastly.net
.akamai.net
.cloudflare.com
.cloudflarestorage.com
.jsdelivr.net
.unpkg.com
.bunny.net
.cdn.jsdelivr.net
.cdnjs.cloudflare.com
.googleusercontent.com
.storage.googleapis.com
.b-cdn.net
.bunnycdn.com
.bunnystatic.com
.bunnyway.net
.bunny.net
# Cloud Storage
.s3.amazonaws.com
.s3-*.amazonaws.com
.s3.*.amazonaws.com
.storage.googleapis.com
.azureedge.net
.blob.core.windows.net
# AI Platform Services
.openai.com
.api.openai.com
.anthropic.com
.api.anthropic.com
.cohere.ai
.api.cohere.ai
.stability.ai
.api.stability.ai
.wandb.ai
.mlflow.org
.tensorboard.dev
.neptune.ai
# Academic and Research
.arxiv.org
.paperswithcode.com
.research.google.com
.research.facebook.com
.microsoft.com