Update Password protect instance with nginx

2026-05-27 12:00:55 +00:00
parent a0870d8d2a
commit db9aa3fcaa

@@ -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 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 Modify the site's configuration file. We have used default in other areas of the wiki, but your own may vary
``` ```