forked from ciiiii/cloudflare-docker-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wrangler.toml
28 lines (26 loc) · 870 Bytes
/
wrangler.toml
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
name = "cloudflare-docker-proxy"
workers_dev = true
main = "src/index.js"
compatibility_date = "2021-12-07"
routes = [
{ pattern = "docker.proxy.80231024.xyz", custom_domain = true },
{ pattern = "quay.proxy.80231024.xyz", custom_domain = true },
{ pattern = "gcr.proxy.80231024.xyz", custom_domain = true },
{ pattern = "k8s-gcr.proxy.80231024.xyz", custom_domain = true },
{ pattern = "k8s.proxy.80231024.xyz", custom_domain = true },
{ pattern = "ghcr.proxy.80231024.xyz", custom_domain = true },
{ pattern = "cloudsmith.proxy.80231024.xyz", custom_domain = true },
]
[dev]
ip = "0.0.0.0"
port = 8787
local_protocol="http"
upstream_protocol="https"
[vars]
MODE="production"
LOCAL_ADDRESS=""
TARGET_UPSTREAM=""
[env.dev.vars]
MODE="debug"
LOCAL_ADDRESS="http://192.168.10.102:8787"
TARGET_UPSTREAM="https://registry-1.docker.io"