mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-29 21:31:48 +02:00
refactor(benchmark): benchmark script functionality and fairness
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user