From 236619cd42581171c706918249666f35e421802b Mon Sep 17 00:00:00 2001 From: nyx Date: Sat, 1 Feb 2025 14:30:00 -0600 Subject: [PATCH] caddy --- README.md | 2 +- doc/Caddyfile | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 doc/Caddyfile diff --git a/README.md b/README.md index f0d48c2..e3da483 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ there's a matrix bot at n/quotes-bot and a very WIP rewrite in python at n/quote # docs & running -see the [doc directory](/doc) for documentation, it also has an example nginx config, +see the [doc directory](/doc) for documentation, it also has an example nginx and caddy config, and you can also run the app using [./scripts/run.sh](./scripts/run.sh) to match that config - but don't run it using the run.sh as the first run. diff --git a/doc/Caddyfile b/doc/Caddyfile new file mode 100644 index 0000000..08fe8d7 --- /dev/null +++ b/doc/Caddyfile @@ -0,0 +1,4 @@ +https://quotes.example.com { + tls alice@example.com + reverse_proxy http://127.0.0.1:19721 +}