add CADDY_ENABLED configuration from environment variable

This commit is contained in:
Eduardo Silva
2026-03-14 11:01:01 -03:00
parent 539f6592c5
commit f8596bc8ff

View File

@@ -179,4 +179,6 @@ WIREGUARD_WEBADMIN_VERSION = 9976
CLUSTER_WORKER_CURRENT_VERSION = 11 CLUSTER_WORKER_CURRENT_VERSION = 11
CLUSTER_WORKER_MINIMUM_VERSION = 11 CLUSTER_WORKER_MINIMUM_VERSION = 11
CADDY_ENABLED = os.getenv("CADDY_ENABLED", "false").lower() == "true"
from wireguard_webadmin.production_settings import * from wireguard_webadmin.production_settings import *