From f091544c272173756d1a2d44029e6ecf951d1500 Mon Sep 17 00:00:00 2001 From: uak <411046+damascene@users.noreply.github.com> Date: Sat, 3 May 2025 08:14:06 +0000 Subject: [PATCH] Clear instruction for naming of htpasswd file Previous instructions could make the impression that user have to create a directory named as the virtual host and also a file named as the virutal host. --- docs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/README.md b/docs/README.md index 3e39388..46afc30 100644 --- a/docs/README.md +++ b/docs/README.md @@ -333,7 +333,7 @@ See the [nginx keepalive documentation](https://nginx.org/en/docs/http/ngx_http_ ## Basic Authentication Support In order to be able to secure your virtual host, you have to create a file named as its equivalent `VIRTUAL_HOST` variable (or if using a regex `VIRTUAL_HOST`, as the sha1 hash of the regex) in directory -`/etc/nginx/htpasswd/{$VIRTUAL_HOST}` +`/etc/nginx/htpasswd/`. Example: `/etc/nginx/htpasswd/app.example.com`. ```console docker run -d -p 80:80 -p 443:443 \