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 ```