Skip to content

Commit

Permalink
docs: 更新宝塔部署文档,增加缓存配置提醒
Browse files Browse the repository at this point in the history
  • Loading branch information
Mereithhh committed Mar 27, 2023
1 parent b6aad90 commit ed2bc8b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/guide/bt-panel.snippet.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ services:

启动完毕后,请 [完成初始化](./init.md)。

### 调整 nginx 缓存
根据群友反应,宝塔的 nginx 配置反代后经常会出现缓存问题,具体表现为在后台修改后,内容不能及时反映到前台页面上。

这时需要设置手动在宝塔 nginx 设置一个较短的缓存时间即可(比如1分钟),不然默认的缓存时间会很长。

如果宝塔已有项目较少,还是推荐使用 [nginx-proxy-manager](https://nginxproxymanager.com/) 进行反代管理会更方便。

### 常见问题

::: info 部署失败
Expand Down

0 comments on commit ed2bc8b

Please sign in to comment.