summaryrefslogtreecommitdiff
path: root/caddytest
diff options
context:
space:
mode:
Diffstat (limited to 'caddytest')
-rw-r--r--caddytest/integration/caddyfile_adapt/reverse_proxy_options.txt (renamed from caddytest/integration/caddyfile_adapt/reverse_proxy_h2c.txt)8
1 files changed, 7 insertions, 1 deletions
diff --git a/caddytest/integration/caddyfile_adapt/reverse_proxy_h2c.txt b/caddytest/integration/caddyfile_adapt/reverse_proxy_options.txt
index 9f3bc93..423bd8f 100644
--- a/caddytest/integration/caddyfile_adapt/reverse_proxy_h2c.txt
+++ b/caddytest/integration/caddyfile_adapt/reverse_proxy_options.txt
@@ -6,11 +6,15 @@ https://example.com {
header_up X-Forwarded-For {remote}
header_up X-Forwarded-Port {server_port}
header_up X-Forwarded-Proto "http"
+
+ buffer_requests
+
transport http {
versions h2c 2
compression off
+ max_conns_per_host 5
+ max_idle_conns_per_host 2
}
- buffer_requests
}
}
@@ -64,6 +68,8 @@ https://example.com {
},
"transport": {
"compression": false,
+ "max_conns_per_host": 5,
+ "max_idle_conns_per_host": 2,
"protocol": "http",
"versions": [
"h2c",