From 39c89afb764b0bedca01ed18e14c9f3f7f4a1678 Mon Sep 17 00:00:00 2001 From: Roman Fischer Date: Thu, 12 Feb 2026 21:20:25 +0100 Subject: [PATCH] Update readme --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a542ac..5aec407 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,20 @@ Core infrastructure stack for multiple independent web apps on one server. 1. Copy `.env.dist` to `.env`. 2. Set real domains and credentials in `.env`. -3. Generate auth hashes with `htpasswd -nbB admin 'your-password'`. +3. Generate auth hashes with: + +```bash +htpasswd -nbB admin 'your-password' +``` + 4. Escape every `$` in hashes as `$$` before putting them into `.env`. + Quick workaround (auto-escape output): + +```bash +htpasswd -nbB admin 'your-password' | sed 's/\\$/$$/g' +``` + +This prints an `.env`-ready value such as `admin:$$2y$$05$$...`. 5. Start the stack: ```bash