Skip to content

Commit

Permalink
Caddyfile: document default password
Browse files Browse the repository at this point in the history
Signed-off-by: Thilo Fromm <[email protected]>
  • Loading branch information
t-lo committed Dec 14, 2023
1 parent 60352d7 commit 1adaafb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/mailman/Caddyfile.mailman.inc
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
not path /monitoring*
}

# Mild protection via Basic authentication. Make up a user name (or go with 'mailman')
# Mild protection via Basic authentication. Defaults to user "mailman", pass "supersecret".
# and generate a password hash via
# docker run --rm --entrypoint /usr/sbin/caddy ghcr.io/t-lo/mailserver hash-password --plaintext <PASSWORD>
basicauth @auth {
mailman JDJhJDE0JEpCcllzOC9RNTNraURhQTlIV25DTC5LMko5VzJaWFZJV0xYNnJncklIUkhHRXhBNHpZZVRt
mailman $2a$14$qBxgji2SnzLz8TDnFlEGJOOYhFqVFbE1QQrIGYTXErQnt8g6H6OdS
}

handle /static/* {
Expand Down

0 comments on commit 1adaafb

Please sign in to comment.