Initial commit: 自建服务配置文件 (Caddy/Gitea/SilverBullet/sshwifty)
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
# www → 主域名 301 重定向
|
||||
www.hyonglin.top {
|
||||
tls {
|
||||
dns cloudflare {env.CF_API_TOKEN}
|
||||
}
|
||||
redir https://hyonglin.top{path} 301
|
||||
}
|
||||
|
||||
# 主页
|
||||
hyonglin.top {
|
||||
tls {
|
||||
dns cloudflare {env.CF_API_TOKEN}
|
||||
}
|
||||
root * /srv/homepage
|
||||
file_server
|
||||
}
|
||||
|
||||
# frp 管理面板
|
||||
frp.hyonglin.top {
|
||||
tls {
|
||||
dns cloudflare {env.CF_API_TOKEN}
|
||||
}
|
||||
reverse_proxy host.docker.internal:7500
|
||||
}
|
||||
|
||||
# 笔记
|
||||
note.hyonglin.top {
|
||||
tls {
|
||||
dns cloudflare {env.CF_API_TOKEN}
|
||||
}
|
||||
reverse_proxy silverbullet:3000
|
||||
}
|
||||
|
||||
# 网页 SSH 终端
|
||||
ssh.hyonglin.top {
|
||||
tls {
|
||||
dns cloudflare {env.CF_API_TOKEN}
|
||||
}
|
||||
reverse_proxy sshwifty:8182
|
||||
}
|
||||
|
||||
# Git 服务
|
||||
git.hyonglin.top {
|
||||
tls {
|
||||
dns cloudflare {env.CF_API_TOKEN}
|
||||
}
|
||||
reverse_proxy gitea:3000
|
||||
}
|
||||
Reference in New Issue
Block a user