-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
questionFurther information is requestedFurther information is requested
Description
关于部署
部署
Hyuga 通过github action 自动发布,使用 embed 打包好前端资源文件,所以部署特别简单:
-
准备一个域名,如
hyuga.icu,准备一台vps,如公网ip1.1.1.1。 -
在 cloudflare 中添加 hyuga.icu,并按照提示修改域名 DNS 服务器。
-
ns.hyuga.icu→1.1.1.1zznq.hyuga.icuNS →ns.hyuga.icu
-
下载 hyuga:Hyuga releases
-
编辑配置文件 config.toml ,修改dns 、github 等
... [oob] [oob.dns] main = "zznq.hyuga.icu" ip = "1.1.1.1" ns = ["ns.hyuga.icu"] [oob.jndi] address = ":233" limit = 1000 [web] address = "localhost:8080" [web.github] client-id = "xxx" client-secret = "xxxxxxxx"
-
运行 ./hyuga -config config.toml
支持https部署
-
安装 caddy https://caddyserver.com/docs/install
-
配置
/etc/caddy/Caddyfile然后重启 systemctl restart caddyzznq.hyuga.icu { reverse_proxy localhost:8080 } :80 { reverse_proxy localhost:8080 }
其他

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested
