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