feat: 登录会话持久化 + Caddy 反代部署方案

This commit is contained in:
root
2026-10-16 11:27:15 +08:00
parent de3add8881
commit 2660dc6fa9
7 changed files with 79 additions and 34 deletions
+12
View File
@@ -0,0 +1,12 @@
# 方式一:独立子域名(DNS 添加 sync.linyux.cn A 记录后使用)
sync.linyux.cn {
reverse_proxy 127.0.0.1:3780
}
# 方式二:复用现有域名路径(并入 gitea.linyux.cn 的站点块,不要单独建站)
# gitea.linyux.cn {
# handle_path /sync-api/* {
# reverse_proxy 127.0.0.1:3780
# }
# # ...原有 Gitea 反代配置
# }