hs-test: add nginx+quic test
Type: test Change-Id: I15e4f2fb84cb4f34b6fea95978db000854a63e78 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
This commit is contained in:

committed by
Florin Coras

parent
fe965a3a17
commit
31eaea9eef
6
extras/hs-test/resources/nginx/html/index.html
Normal file
6
extras/hs-test/resources/nginx/html/index.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<http>
|
||||
<title>nginx docker with quic</title>
|
||||
<body>
|
||||
<p>Greetings!</p>
|
||||
</body>
|
||||
</http>
|
25
extras/hs-test/resources/nginx/nginx_http3.conf
Normal file
25
extras/hs-test/resources/nginx/nginx_http3.conf
Normal file
@@ -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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user