Is a web server needed in front of CF Tunnel?

This is a real basic question so bear with me.

Let’s say I have two web apps running on one server, one ron port 8000 and the other at 9000.

CF tunnels can be configured to direct traffic by domain names to different ports. Is there a reason to have a separate web server like Caddy in between tunnel and ports? Would it be a security issue? cloudflared is already running on the server.

Probably not necessary. When I had a Ghost blog site (NodeJS), I skipped the front end and pointed my tunnel straight to the Ghost port.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.