Public frontend
The main website is hosted on Cloudflare, giving it a fast public front door without needing a local web server.
Cloudflare hosted frontend
This site is served from Cloudflare, while selected functionality can be powered by services running locally behind a Cloudflare Tunnel.
About the setup
The main website is hosted on Cloudflare, giving it a fast public front door without needing a local web server.
Individual features can call a controlled API route that is forwarded to a local service through Cloudflare Tunnel.
The local side can stay behind outbound tunnel connectivity instead of relying on inbound router port forwarding.
Architecture
The public website and the local API are deliberately separated. This means the public site can stay simple and reliable, while local services can be added carefully as separate features.