From c504e75cf605691e7aa59953698ee62ba1833e7f Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Eugenio Halili Date: Thu, 2 Jun 2022 19:08:49 +0800 Subject: [PATCH] Add example Caddyfile for reference Signed-off-by: Andrei Jiroh Eugenio Halili --- Caddyfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Caddyfile diff --git a/Caddyfile b/Caddyfile new file mode 100644 index 0000000..016cb93 --- /dev/null +++ b/Caddyfile @@ -0,0 +1,10 @@ +# Change mydomain.tld into your own domain over here. We also recommend to edit this file +# based on your needs. +mydomain.tld { + reverse_proxy localhost:8080 + tls { + # Get an API token from https://dash.cloudflare.com/profile/api-tokens with scoped DNS editing perms + # to your domain. If not using Cloudflare DNS, please update this section + dns cloudflare yourTokenHere + } +}