From 0136bc813da3a8a24a8555df282a5d3ae11b9991 Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Fri, 16 May 2025 20:54:19 +0200 Subject: [PATCH] docs: Hashed wachtwoord maken --- compose.production.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compose.production.yml b/compose.production.yml index cf155c18..f28e24ad 100644 --- a/compose.production.yml +++ b/compose.production.yml @@ -118,6 +118,8 @@ services: - '--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json' labels: # BasicAuth middleware + # To create a user:password pair, the following command can be used: + # echo $(htpasswd -nb user password) | sed -e s/\\$/\\$\\$/g - 'traefik.http.middlewares.protected-sub-path.basicauth.users=dwengo.org:$$apr1$$FdALqAjI$$7ZhPq0I/qEQ6k3OYqxJKZ1' # Proxying - 'traefik.enable=true'