fix: use HTTPS for production repository fetches
This commit is contained in:
@@ -24,7 +24,7 @@ systemd: Gunicorn + UvicornWorker
|
||||
约定:
|
||||
|
||||
- Ubuntu 22.04 或 24.04。
|
||||
- Gitea 仓库:`http://117.72.28.96:8765/Jacky/Hulumath-Web.git`。
|
||||
- Gitea 仓库:`https://git.jacky0987.xyz/Jacky/Hulumath-Web.git`。
|
||||
- 项目目录:`/www/wwwroot/Hulumath-Web`。
|
||||
- 应用监听:`127.0.0.1:8000`。
|
||||
- MySQL 8 宿主机端口:`3307`。
|
||||
@@ -206,7 +206,7 @@ mysql -h 127.0.0.1 -P 3307 \
|
||||
|
||||
```bash
|
||||
git ls-remote \
|
||||
http://117.72.28.96:8765/Jacky/Hulumath-Web.git \
|
||||
https://git.jacky0987.xyz/Jacky/Hulumath-Web.git \
|
||||
refs/heads/main
|
||||
```
|
||||
|
||||
@@ -223,7 +223,7 @@ if [ -d Hulumath-Web ]; then
|
||||
fi
|
||||
|
||||
git clone \
|
||||
http://117.72.28.96:8765/Jacky/Hulumath-Web.git \
|
||||
https://git.jacky0987.xyz/Jacky/Hulumath-Web.git \
|
||||
Hulumath-Web
|
||||
cd Hulumath-Web
|
||||
git checkout main
|
||||
|
||||
Reference in New Issue
Block a user