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