Cloudflare tunnel with Caddy

1. Caddy version (caddy version):

2.4.6

2. How I run Caddy:

Windows service

a. System environment:

I am using Cloudflare tunnel and want to forward traffic to Caddy, which can then forward traffic to my web servers (IIS) and do load balancing etc. What I am confused about is what should my caddy config look like?

b. Command:

Paste command here.

c. Service/unit/compose file:

Paste full file contents here.
Make sure backticks stay on their own lines,
and the post looks nice in the preview pane.

d. My complete Caddyfile or JSON config:

Paste config here, replacing this text.
Use `caddy fmt` to make it readable.
DO NOT REDACT anything except credentials.
LEAVE DOMAIN NAMES INTACT.
Make sure the backticks stay on their own lines.

3. The problem I’m having:

4. Error messages and/or full log output:

5. What I already tried:

6. Links to relevant resources:

What did you try?

You haven’t given us enough information here to do much to help.

I found an example of what I need to do, so just implementing this!

This topic was automatically closed after 30 days. New replies are no longer allowed.