# Cloudflare Tunnel Configuration for LCC Table Tennis Booking # Domain: lcc-tt-booking.mikicvi.com # Save this as ~/.cloudflared/config.yml after setting up your tunnel tunnel: credentials-file: /home/pi/.cloudflared/.json # Ingress rules ingress: # Main application - hostname: lcc-tt-booking.mikicvi.com service: http://localhost:3000 originRequest: # Enable HTTP/2 httpHostHeader: lcc-tt-booking.mikicvi.com # Connection settings connectTimeout: 30s tlsTimeout: 10s # Health checks proxyType: http # Disable chunked encoding for better compatibility disableChunkedEncoding: true # Health check endpoint (optional, for monitoring) - hostname: health.lcc-tt-booking.mikicvi.com service: http://localhost:3000/api/health # Catch-all rule (must be last) - service: http_status:404 # Optional: Logging configuration loglevel: info transport-loglevel: warn # Optional: Metrics metrics: 0.0.0.0:2000 # Optional: Enable compression compression: gzip