© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•11mo ago•
19 replies
aleclarson

pages.dev tunnel

I have a Cloudflare tunnel with ingress rules like:
- hostname: xyz.example.com
  path: ^/api/
  service: http://nodejs-server:8080
- hostname: xyz.example.com
  service: https://xyz.pages.dev
- service: http_status:404
- hostname: xyz.example.com
  path: ^/api/
  service: http://nodejs-server:8080
- hostname: xyz.example.com
  service: https://xyz.pages.dev
- service: http_status:404


essentially, i want
/api/*
/api/*
traffic to go to the NodeJS server, then other traffic forwarded to Cloudflare pages.

is this not supported? or is there a right way to do it?
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

`*.pages.dev` assignation bug
Cloudflare DevelopersCDCloudflare Developers / general-help
13mo ago
Make pages domain same as tunnel
Cloudflare DevelopersCDCloudflare Developers / general-help
3y ago
Cloudflared Tunnel: Tunneling for custom ports
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
How to redirect from pages.dev
Cloudflare DevelopersCDCloudflare Developers / general-help
3d ago