From 2041047a4bccc5b1e462ed1230a3f5ec51c513e3 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 19 May 2025 21:23:57 +1200 Subject: [PATCH] . --- caddy/README.txt | 24 ++++++++++++++++++++++-- static-website/README.txt | 1 - 2 files changed, 22 insertions(+), 3 deletions(-) delete mode 100644 static-website/README.txt diff --git a/caddy/README.txt b/caddy/README.txt index 43c0a65..040f6a8 100644 --- a/caddy/README.txt +++ b/caddy/README.txt @@ -1,3 +1,23 @@ -Caddy! +Thanks for installing Caddy! + +1) [OPTIONAL] Edit the container name if you wish: + dropshell edit $SERVER $SERVICE + +2) Modify the default site content (if you won't serve it with something else): + cd ${LOCAL_CONFIG_PATH}/static + nano -w index.html + +2) Customise the Caddyfile with + nano -w ${LOCAL_CONFIG_PATH}/caddyfile/Caddyfile + +Note that adding reverse proxy's requires using the external address of the host. +E.g. + + awesome.mydomain.com { + reverse_proxy 103.73.62.99:1234 + } + +This is because caddy is run in a docker container, not on the same docker network +as your other docker containers on the host. Your raw HTTP port is exposed unless +you firewall it off. -Edit the static site, and the Caddyfile. diff --git a/static-website/README.txt b/static-website/README.txt deleted file mode 100644 index 4cbd8ba..0000000 --- a/static-website/README.txt +++ /dev/null @@ -1 +0,0 @@ -Caddy