Using cloudflared tunnel to publish internal website, how to filter by URL path?

I have an internal web app and looking to expose certain URLs externally.

My configuration is below…

tunnel: ...
credentials-file: ...
  connectTimeout: 30s

  - hostname:
    path: /toolkit.*
  - service: http_status:404
loglevel: info
logfile: /var/log/cloudflared.log

If I browse to this works.

What also works is

Why is the above configuration also exposing other paths? Is there a way to explicitly specify paths that should be handled by the tunnel?

How does one configure this to pass through below URLs and ignore everything else?**

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