33 lines
829 B
YAML
33 lines
829 B
YAML
tunnel: a6813327-f880-485d-a9d1-376e6e3df8ad
|
|
credentials-file: /Users/syui/.cloudflared/a6813327-f880-485d-a9d1-376e6e3df8ad.json
|
|
|
|
ingress:
|
|
# API backend routes (more specific paths first)
|
|
- hostname: xxxcard.syui.ai
|
|
path: /api/*
|
|
service: http://localhost:8000
|
|
originRequest:
|
|
noHappyEyeballs: true
|
|
|
|
# Health check
|
|
- hostname: xxxcard.syui.ai
|
|
path: /health
|
|
service: http://localhost:8000
|
|
originRequest:
|
|
noHappyEyeballs: true
|
|
|
|
# MCP endpoint
|
|
- hostname: xxxcard.syui.ai
|
|
path: /mcp*
|
|
service: http://localhost:8000
|
|
originRequest:
|
|
noHappyEyeballs: true
|
|
|
|
# Web frontend (all other routes)
|
|
- hostname: xxxcard.syui.ai
|
|
service: http://localhost:4173
|
|
originRequest:
|
|
noHappyEyeballs: true
|
|
|
|
# Catch-all rule
|
|
- service: http_status:404 |