diff options
Diffstat (limited to 'Caddyfile-example')
-rw-r--r-- | Caddyfile-example | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Caddyfile-example b/Caddyfile-example new file mode 100644 index 000000000000..f3d5e64d520e --- /dev/null +++ b/Caddyfile-example @@ -0,0 +1,16 @@ +# For the "reverse-proxy with auto TLS certificate", add entries as follows. +# Don't forget to set `CLOUDFLARE_API_TOKEN`, e.g., in /var/lib/caddy/envfile +# +# example.com { +# reverse_proxy localhost:8080 +# tls { +# dns cloudflare {env.CLOUDFLARE_API_TOKEN} +# } +# } +# +# example.net { +# reverse_proxy localhost:8800 +# tls { +# dns cloudflare {env.CLOUDFLARE_API_TOKEN} +# } +# } |