Skip to content

Commit

Permalink
Update Caddyfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ac0d3r committed May 6, 2023
1 parent 9317461 commit a6aadb0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`: 过滤字符
Expand Down
6 changes: 3 additions & 3 deletions configs/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
6 changes: 6 additions & 0 deletions tests/caddy/Caddyfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
log.hyuga.icu {
reverse_proxy localhost:8080
}
:80 {
reverse_proxy localhost:8080
}

0 comments on commit a6aadb0

Please sign in to comment.