Skip to content

Commit 22702e5

Browse files
committed
docs: 补充统计密码文件权限说明
1 parent 28861d0 commit 22702e5

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

deploy/nginx-auth/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ Example on the production server:
99
```bash
1010
apt-get install -y apache2-utils
1111
htpasswd -c /opt/welink/deploy/nginx-auth/htpasswd <username>
12+
chmod 644 /opt/welink/deploy/nginx-auth/htpasswd
1213
docker compose -f /opt/welink/server-compose.yml restart website
1314
```

docs/docker.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ https://demo.welink.click/_stats/ # Demo 访问统计
304304
```bash
305305
apt-get install -y apache2-utils
306306
htpasswd -c /opt/welink/deploy/nginx-auth/htpasswd <username>
307+
chmod 644 /opt/welink/deploy/nginx-auth/htpasswd
307308
docker compose -f /opt/welink/server-compose.yml restart website
308309
```
309310

0 commit comments

Comments
 (0)