2 Star 5 Fork 2

Gitee 极速下载 / Pingap

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/vicanso/pingap
克隆/下载
pingap.toml 819 Bytes
一键复制 编辑 原始数据 按行查看 历史
vicanso 提交于 2024-05-25 12:48 . test: add more test for common config
[basic]
error_template = ""
pid_file = "/tmp/pingap.pid"
upgrade_sock = "/tmp/pingap_upgrade.sock"
threads = 1
work_stealing = true
grace_period = "3m"
graceful_shutdown_timeout = "10s"
log_level = "info"
[upstreams.charts]
addrs = ["127.0.0.1:5000"]
algo = "hash:cookie"
health_check = "http://charts/ping?connection_timeout=3s&pingap"
connection_timeout = "10s"
total_connection_timeout = "30s"
read_timeout = "10s"
idle_timeout = "2m"
write_timeout = "10s"
[upstreams.diving]
addrs = ["127.0.0.1:5001"]
[locations.lo]
upstream = "charts"
path = "/"
host = ""
proxy_set_headers = ["name:value"]
proxy_add_headers = ["name:value"]
rewrite = ""
plugins = ["pingap:requestId", "stats"]
[servers.test]
addr = "0.0.0.0:6188"
access_log = "tiny"
locations = ["lo"]
[plugins.stats]
value = "/stats"
category = "stats"
Rust
1
https://gitee.com/mirrors/Pingap.git
git@gitee.com:mirrors/Pingap.git
mirrors
Pingap
Pingap
main

搜索帮助