diff --git a/README.md b/README.md index 4982375..8cab3af 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Hyuga 是一个用来监控带外(Out-of-Band)流量的工具。🪤 - github action 自动发布 [Releases](https://github.com/ac0d3r/Hyuga/releases) ### 🚀 查询 API -- `GET` - `http://{hyuga.io}/api/v2/record/all?token={token}&type={type}&filter={filter}` +- `GET` - `http[s]://{hyuga.io}/api/v2/record/all?token={token}&type={type}&filter={filter}` - `type`: 查询类型 `dns|http|ldap|rmi` - `token`: 域名 token - `filter`: 过滤字符 diff --git a/configs/config.toml b/configs/config.toml index 260d327..531b339 100644 --- a/configs/config.toml +++ b/configs/config.toml @@ -22,15 +22,15 @@ [oob] [oob.dns] - main = "hyuga.io" + main = "log.hyuga.icu" ip = "1.1.1.1" - ns = ["ns1.app.io", "ns2.app.io"] + ns = ["ns.hyuga.icu"] [oob.jndi] address = ":233" limit = 1000 [web] - address = ":8080" + address = "localhost:8080" [web.github] client-id = "" client-secret = "" diff --git a/tests/caddy/Caddyfile b/tests/caddy/Caddyfile new file mode 100644 index 0000000..da40355 --- /dev/null +++ b/tests/caddy/Caddyfile @@ -0,0 +1,6 @@ +log.hyuga.icu { + reverse_proxy localhost:8080 +} +:80 { + reverse_proxy localhost:8080 +}