mirror of
https://github.com/ciiiii/cloudflare-docker-proxy.git
synced 2025-12-06 14:42:51 +08:00
Remove routes from config
This commit is contained in:
@@ -12,15 +12,15 @@ TARGET_UPSTREAM = "https://registry-1.docker.io"
|
||||
|
||||
[env.production]
|
||||
name = "cloudflare-docker-proxy"
|
||||
routes = [
|
||||
{ pattern = "docker.libcuda.so", custom_domain = true },
|
||||
{ pattern = "quay.libcuda.so", custom_domain = true },
|
||||
{ pattern = "gcr.libcuda.so", custom_domain = true },
|
||||
{ pattern = "k8s-gcr.libcuda.so", custom_domain = true },
|
||||
{ pattern = "k8s.libcuda.so", custom_domain = true },
|
||||
{ pattern = "ghcr.libcuda.so", custom_domain = true },
|
||||
{ pattern = "cloudsmith.libcuda.so", custom_domain = true },
|
||||
]
|
||||
# routes = [
|
||||
# { pattern = "docker.libcuda.so", custom_domain = true },
|
||||
# { pattern = "quay.libcuda.so", custom_domain = true },
|
||||
# { pattern = "gcr.libcuda.so", custom_domain = true },
|
||||
# { pattern = "k8s-gcr.libcuda.so", custom_domain = true },
|
||||
# { pattern = "k8s.libcuda.so", custom_domain = true },
|
||||
# { pattern = "ghcr.libcuda.so", custom_domain = true },
|
||||
# { pattern = "cloudsmith.libcuda.so", custom_domain = true },
|
||||
# ]
|
||||
|
||||
[env.production.vars]
|
||||
MODE = "production"
|
||||
@@ -28,7 +28,7 @@ TARGET_UPSTREAM = ""
|
||||
|
||||
[env.staging]
|
||||
name = "cloudflare-docker-proxy-staging"
|
||||
route = { pattern = "docker-staging.libcuda.so", custom_domain = true }
|
||||
# route = { pattern = "docker-staging.libcuda.so", custom_domain = true }
|
||||
|
||||
[env.staging.vars]
|
||||
MODE = "staging"
|
||||
|
||||
Reference in New Issue
Block a user