summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/resources/nginx
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2024-09-20 13:25:39 +0200
committerFlorin Coras <florin.coras@gmail.com>2024-09-20 16:06:17 +0000
commit05f713738973597189c390cbb11463a458c57682 (patch)
tree11d2d014a7caf8809bf452d6bf0888adb23008a0 /extras/hs-test/resources/nginx
parent147585e7f6566fe08aa1cc774e7435660ab29e26 (diff)
hs-test: proxy testing improvements
- nginx and curl timeouts are extended if debug flag is set - added write-out for curl (outputs extra info after transfer is done) Type: test Change-Id: I3f6c336a14cd00b9ae8669d2fa26e00709162100 Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'extras/hs-test/resources/nginx')
-rw-r--r--extras/hs-test/resources/nginx/nginx_server.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/hs-test/resources/nginx/nginx_server.conf b/extras/hs-test/resources/nginx/nginx_server.conf
index 62d27cbbc65..26d58348039 100644
--- a/extras/hs-test/resources/nginx/nginx_server.conf
+++ b/extras/hs-test/resources/nginx/nginx_server.conf
@@ -15,6 +15,9 @@ events {
http {
keepalive_timeout 300s;
keepalive_requests 1000000;
+ client_body_timeout {{.Timeout}}s;
+ client_header_timeout {{.Timeout}}s;
+ send_timeout {{.Timeout}}s;
sendfile on;
server {
access_log /tmp/nginx/{{.LogPrefix}}-access.log;