refactor(benchmark): benchmark script functionality and fairness

This commit is contained in:
yusing
2026-01-03 00:57:50 +08:00
parent 7702fa6696
commit 5c9ccd9963
3 changed files with 29 additions and 9 deletions

View File

@@ -184,11 +184,11 @@ configs:
default_bind 0.0.0.0
servers {
protocols h2c h1
protocols h1 h2c
}
}
http://whoami.domain.com:80 {
http://whoami.domain.com {
reverse_proxy whoami:80
}
nginx_config:
@@ -221,6 +221,14 @@ configs:
keepalive 128;
}
server {
listen 80 default_server;
server_name _;
http2 on;
return 404;
}
server {
listen 80;
server_name whoami.domain.com;