From db9aa3fcaa0980e76b3a61444b187e268c15278c Mon Sep 17 00:00:00 2001 From: ASTER Date: Wed, 27 May 2026 12:00:55 +0000 Subject: [PATCH] Update Password protect instance with nginx --- Password-protect-instance-with-nginx.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Password-protect-instance-with-nginx.md b/Password-protect-instance-with-nginx.md index 9487041..784c7c2 100644 --- a/Password-protect-instance-with-nginx.md +++ b/Password-protect-instance-with-nginx.md @@ -12,6 +12,12 @@ Generate password file and add user1 - you will be prompted for the password to sudo htpasswd -c /etc/nginx/.htpasswd user1 ``` +To add another user, run the same command but omit the -c. Example: + +``` +sudo htpasswd /etc/nginx/.htpasswd user2 +``` + Modify the site's configuration file. We have used default in other areas of the wiki, but your own may vary ```