no message

This commit is contained in:
kuaifan 2025-05-26 23:19:06 +08:00
parent d7bccfd267
commit b7d3e69f87
3 changed files with 8 additions and 2 deletions

View File

@ -12,6 +12,9 @@ English | **[中文文档](./README_CN.md)**
## 📍 Migration from 0.x to 1.x
- Please ensure to back up your data before upgrading!
- Change `DB_HOST="${APP_IPPR}.5"` to `DB_HOST=mariadb` in the `.env` file.
- Change `REDIS_HOST="${APP_IPPR}.4"` to `REDIS_HOST=redis` in the `.env` file.
- If you have enabled SSL certificates, change `/etc/nginx/conf.d/site/` to `/var/www/docker/nginx/site/` in the `docker/nginx/site/{xxx}.conf` file.
- If the upgrade fails, try running `./cmd update` multiple times.
- If you encounter "Container xxx not found" during upgrade, run `./cmd up` and then execute `./cmd update`.
- If you see a 502 error after upgrading, run `./cmd reup` to restart the services.

View File

@ -12,6 +12,9 @@
## 📍 0.x 迁移到 1.x
- 升级时请务必备份好数据!
- 将 `.env` 文件的 `DB_HOST="${APP_IPPR}.5"` 改为 `DB_HOST=mariadb`
- 将 `.env` 文件的 `REDIS_HOST="${APP_IPPR}.4"` 改为 `REDIS_HOST=redis`
- 如果你已经开启了ssl证书`docker/nginx/site/{xxx}.conf` 文件内容 `/etc/nginx/conf.d/site/` 改成 `/var/www/docker/nginx/site/`
- 如果升级失败请尝试执行 `./cmd update` 重试几次。
- 如果升级中出现 `没有找到 xxx 容器` 的提示,请运行 `./cmd up` 后再执行 `./cmd update`
- 如果升级后出现502错误请运行 `./cmd reup` 重启服务即可。

View File

@ -155,8 +155,8 @@ install() {
cat >${sitePath}/ssl.conf <<EOF
server_name ${domain};
listen 443 ssl;
ssl_certificate /etc/nginx/conf.d/site/ssl/${domain}.crt;
ssl_certificate_key /etc/nginx/conf.d/site/ssl/${domain}.key;
ssl_certificate /var/www/docker/nginx/site/ssl/${domain}.crt;
ssl_certificate_key /var/www/docker/nginx/site/ssl/${domain}.key;
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;
ssl_prefer_server_ciphers on;