From 645ec3a6cbc2d4438d05d905c42fc4e088b6a6d5 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Sun, 4 Aug 2024 13:19:53 +0200 Subject: [PATCH] chore: add example Caddyfile to setup Alby Hub with a Caddy reverse proxy for TLS --- scripts/linux-x86_64/Caddyfile.example | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 scripts/linux-x86_64/Caddyfile.example diff --git a/scripts/linux-x86_64/Caddyfile.example b/scripts/linux-x86_64/Caddyfile.example new file mode 100644 index 00000000..77127cf9 --- /dev/null +++ b/scripts/linux-x86_64/Caddyfile.example @@ -0,0 +1,19 @@ +# Example Caddyfile to run Alby Hub behind a Caddy reverse proxy +# Caddy has embedded letsencrypt support and creates HTTPS certificates +# learn more: https://caddyserver.com/docs/getting-started + +# Refer to the Caddy docs for more information: +# https://caddyserver.com/docs/caddyfile + + +:80 { + # optional additional basic authentication + # the password is hashed, see Caddy documentation: https://caddyserver.com/docs/caddyfile/directives/basic_auth + #basicauth { + # Username "Bob", password "hiccup" + # Bob $2a$14$Zkx19XLiW6VYouLHR5NmfOFU0z2GTNmpkT/5qqR7hx4IjWJPDhjvG + #} + + # Alby Hub runs on 8080 by default + reverse_proxy :8080 +}