feat: 添加 Caddy 反向代理配置示例及 TLS/SSL 文档

This commit is contained in:
DrSmoothl
2026-03-17 14:40:51 +08:00
parent 28afa6f2c2
commit 33d408d3ea
5 changed files with 656 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
maibot.example.com {
encode zstd gzip
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options "nosniff"
X-Frame-Options "SAMEORIGIN"
Referrer-Policy "strict-origin-when-cross-origin"
}
reverse_proxy core:8001
}