fix(runtime): remove invalid Caddy --adapter json; use native JSON config
This commit is contained in:
@@ -8,7 +8,8 @@ echo "Starting CaddyProxyManager+ with integrated Caddy..."
|
||||
|
||||
# Start Caddy in the background with initial empty config
|
||||
echo '{"apps":{}}' > /config/caddy.json
|
||||
caddy run --config /config/caddy.json --adapter json &
|
||||
# Use JSON config directly; no adapter needed
|
||||
caddy run --config /config/caddy.json &
|
||||
CADDY_PID=$!
|
||||
echo "Caddy started (PID: $CADDY_PID)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user