You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,11 +114,11 @@ docker run -d -e VIRTUAL_HOST=your.domain.com \
114
114
In order to be able to secure your virtual host with basic authentication, you must create a htpasswd file within `${NGINX_FILES_PATH}/htpasswd/${VIRTUAL_HOST}` via:
115
115
116
116
```bash
117
-
sudo sh -c "echo -n '[username]' >> ${NGINX_FILES_PATH}/htpasswd/${VIRTUAL_HOST}"
117
+
sudo sh -c "echo -n '[username]:' >> ${NGINX_FILES_PATH}/htpasswd/${VIRTUAL_HOST}"
118
118
sudo sh -c "openssl passwd -apr1 >> ${NGINX_FILES_PATH}/htpasswd/${VIRTUAL_HOST}"
119
119
```
120
120
121
-
> Please substitute the `${NGINX_FILES_PATH}` with your path information, `[username]` with your username and `${VIRTUAL_HOST}` with your host's domain. You will be prompted for a password.
121
+
> Please substitute the `${NGINX_FILES_PATH}` with your path information, replace `[username]` with your username and `${VIRTUAL_HOST}` with your host's domain. You will be prompted for a password.
0 commit comments