XUI_DEBUG=true XUI_DB_FOLDER=x-ui XUI_LOG_FOLDER=x-ui XUI_BIN_FOLDER=x-ui XUI_INIT_WEB_BASE_PATH=/ # XUI_PORT=8080 # Optional tunnel health monitor (disabled by default). It periodically probes a # URL and restarts xray-core after repeated failures. Point XUI_TUNNEL_HEALTH_PROXY # at a local xray inbound so the probe tests the tunnel; without it the probe only # checks host connectivity and a restart will not fix host network issues. A restart # drops every connected client. # XUI_TUNNEL_HEALTH_MONITOR=true # XUI_TUNNEL_HEALTH_PROXY=socks5://127.0.0.1:1080 # XUI_TUNNEL_HEALTH_URL=https://www.cloudflare.com/cdn-cgi/trace # XUI_TUNNEL_HEALTH_INTERVAL=30s # XUI_TUNNEL_HEALTH_TIMEOUT=10s # XUI_TUNNEL_HEALTH_FAILURES=3 # XUI_TUNNEL_HEALTH_COOLDOWN=5m