summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/resources/nginx/nginx_http3.conf
blob: c7bd78a224bf0d61429162d76c66187d92422964 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
  }
}