Add example Caddyfile for reference

Signed-off-by: Andrei Jiroh Eugenio Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2022-06-02 19:08:49 +08:00
parent f0359db526
commit c504e75cf6
Signed by: ajhalili2006
GPG Key ID: A30EBE40AD856D88
1 changed files with 10 additions and 0 deletions

10
Caddyfile Normal file
View File

@ -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
}
}