diff options
author | 2023-06-15 10:06:57 +0200 | |
---|---|---|
committer | 2023-06-27 15:58:47 +0000 | |
commit | 31eaea9eef0594117e83733aa01f8bbda940e4da (patch) | |
tree | 40a0ff08e018c379dd92823aa60c2a64ce1b9a4a /extras/hs-test/resources/nginx | |
parent | fe965a3a17fd543cb5a7caf37b25729c1683865b (diff) |
hs-test: add nginx+quic test
Type: test
Change-Id: I15e4f2fb84cb4f34b6fea95978db000854a63e78
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'extras/hs-test/resources/nginx')
-rw-r--r-- | extras/hs-test/resources/nginx/html/index.html | 6 | ||||
-rw-r--r-- | extras/hs-test/resources/nginx/nginx_http3.conf | 25 |
2 files changed, 31 insertions, 0 deletions
diff --git a/extras/hs-test/resources/nginx/html/index.html b/extras/hs-test/resources/nginx/html/index.html new file mode 100644 index 00000000000..6b7c97d7542 --- /dev/null +++ b/extras/hs-test/resources/nginx/html/index.html @@ -0,0 +1,6 @@ +<http> + <title>nginx docker with quic</title> +<body> + <p>Greetings!</p> +</body> +</http> diff --git a/extras/hs-test/resources/nginx/nginx_http3.conf b/extras/hs-test/resources/nginx/nginx_http3.conf new file mode 100644 index 00000000000..c7bd78a224b --- /dev/null +++ b/extras/hs-test/resources/nginx/nginx_http3.conf @@ -0,0 +1,25 @@ +master_process off; +daemon off; + +events { + use epoll; + accept_mutex off; + multi_accept off; +} + +http { + quic_gso on; + quic_retry on; + + access_log logs/access.log; + keepalive_timeout 300s; + sendfile on; + server { + listen 0.0.0.0:8443 quic; + listen 0.0.0.0:8443 ssl; + root /usr/share/nginx; + ssl_certificate /etc/nginx/ssl/localhost.crt; + ssl_certificate_key /etc/nginx/ssl/localhost.key; + index index.html index.htm; + } +} |