fix gpt
This commit is contained in:
33
cloudflared-config.yml
Normal file
33
cloudflared-config.yml
Normal file
@ -0,0 +1,33 @@
|
||||
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
|
Reference in New Issue
Block a user