# Cloudflare Tunnel Configuration for ml110-01 Proxmox Host
# Tunnel Name: tunnel-ml110
# Domain: ml110-01.d-bis.org
# Target: 192.168.11.10:8006 (Proxmox UI)

tunnel: <TUNNEL_ID_ML110>
credentials-file: /etc/cloudflared/tunnel-ml110.json

ingress:
  # Proxmox UI - ml110-01
  - hostname: ml110-01.d-bis.org
    service: https://192.168.11.10:8006
    originRequest:
      noHappyEyeballs: true
      connectTimeout: 30s
      tcpKeepAlive: 30s
      keepAliveConnections: 100
      keepAliveTimeout: 90s
      disableChunkedEncoding: true
      # Allow self-signed certificates (Proxmox uses self-signed)
      noTLSVerify: true

  # Catch-all (must be last)
  - service: http_status:404

# Metrics endpoint (optional, for monitoring)
metrics: 127.0.0.1:9091

# Logging
loglevel: info

# Grace period for shutdown
gracePeriod: 30s

