Skip to content

Commit

Permalink
docs(themes/kami): add Caddy method in proxy section (#12)
Browse files Browse the repository at this point in the history
Signed-off-by: 浮心物语 <[email protected]>
  • Loading branch information
wuhang2003 committed Jul 13, 2023
1 parent 14d7da7 commit 3d632c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pages/themes/kami.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ pnpm prod:pm2

### 反向代理

以下配置文件以 Nginx 为例,若使用 Caddy 进行配置可参考 [Caddyfile 文件示例](https://github.com/mx-space/docker/blob/master/Caddyfile.example)进行相应修改。

```nginx
server {
## 反向代理开始
Expand Down Expand Up @@ -183,4 +185,4 @@ server {
.nextra-content pre {
max-height: 50vh;
}
`}</style>
`}</style>

0 comments on commit 3d632c1

Please sign in to comment.