mirror of
https://github.com/ciiiii/cloudflare-docker-proxy.git
synced 2025-12-06 14:42:51 +08:00
improve use of worker variables
This commit is contained in:
@@ -16,5 +16,12 @@ port = 8787
|
||||
local_protocol="http"
|
||||
upstream_protocol="https"
|
||||
|
||||
[env.dev]
|
||||
vars={DEBUG=true, LOCAL_ADDRESS="http://192.168.50.160:8787", TARGET_UPSTREAM="https://registry-1.docker.io"}
|
||||
[vars]
|
||||
MODE="production"
|
||||
LOCAL_ADDRESS=""
|
||||
TARGET_UPSTREAM=""
|
||||
|
||||
[env.dev.vars]
|
||||
MODE="debug"
|
||||
LOCAL_ADDRESS="http://192.168.50.160:8787"
|
||||
TARGET_UPSTREAM="https://registry-1.docker.io"
|
||||
Reference in New Issue
Block a user