Skip to content

Commit 955797c

Browse files
authored
Merge pull request #2614 from damascene/patch-1
Clear instruction for naming of htpasswd file
2 parents f47f171 + f091544 commit 955797c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ See the [nginx keepalive documentation](https://nginx.org/en/docs/http/ngx_http_
333333
## Basic Authentication Support
334334

335335
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
336-
`/etc/nginx/htpasswd/{$VIRTUAL_HOST}`
336+
`/etc/nginx/htpasswd/`. Example: `/etc/nginx/htpasswd/app.example.com`.
337337

338338
```console
339339
docker run -d -p 80:80 -p 443:443 \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy