Skip to content

Commit

Permalink
chore: add example Caddyfile
Browse files Browse the repository at this point in the history
to setup Alby Hub with a Caddy reverse proxy for TLS
  • Loading branch information
bumi committed Aug 4, 2024
1 parent 1fbf5e9 commit 645ec3a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions scripts/linux-x86_64/Caddyfile.example
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 645ec3a

Please sign in to comment.