diff --git a/t/001-tls.t b/t/001-tls.t index 4d2e4ba8..010f44ce 100644 --- a/t/001-tls.t +++ b/t/001-tls.t @@ -524,6 +524,7 @@ ok } } --- config + server_tokens off; location /t { proxy_pass https://127.0.0.1:$TEST_NGINX_RAND_PORT_1; proxy_http_version 1.1; diff --git a/t/stream/003-tls.t b/t/stream/003-tls.t index 5e541e7c..3a35523d 100644 --- a/t/stream/003-tls.t +++ b/t/stream/003-tls.t @@ -468,7 +468,7 @@ ok } --- stream_server_config - location /t { + content_by_lua_block { proxy_pass https://127.0.0.1:$TEST_NGINX_RAND_PORT_1; proxy_http_version 1.1; proxy_set_header Connection "";