Mercurial > hg > nginx-tests
diff h2_ssl_proxy_protocol.t @ 1998:6b3b31149551
Tests: removed remnants of "listen ... http2" usage.
The only remaining test which uses "listen ... http2" is h2_http2.t
now, which is specifically to test that this form still works.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 09 Aug 2024 05:21:04 +0300 |
parents | a0ee073760c5 |
children |
line wrap: on
line diff
--- a/h2_ssl_proxy_protocol.t Fri Aug 09 05:18:52 2024 +0300 +++ b/h2_ssl_proxy_protocol.t Fri Aug 09 05:21:04 2024 +0300 @@ -42,9 +42,11 @@ %%TEST_GLOBALS_HTTP%% server { - listen 127.0.0.1:8080 proxy_protocol http2 ssl; + listen 127.0.0.1:8080 proxy_protocol ssl; server_name localhost; + http2 on; + ssl_certificate_key localhost.key; ssl_certificate localhost.crt; @@ -79,9 +81,7 @@ $t->write_file('t.html', 'SEE-THIS'); -open OLDERR, ">&", \*STDERR; close STDERR; $t->run(); -open STDERR, ">&", \*OLDERR; ###############################################################################