aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/resources/nginx/nginx_http3.conf
blob: e048b17044b435b7e71a490012c97c03e9aeef7c (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
26
27
master_process on;
worker_processes 2;
daemon off;

error_log /tmp/nginx/{{.LogPrefix}}-error.log info;

events {
   use epoll;
   accept_mutex       off;
   multi_accept       off;
}

http {
  quic_gso on;
  quic_retry on;

  access_log /tmp/nginx/{{.LogPrefix}}-access.log;
  keepalive_timeout 300s;
  sendfile on;
  server {
    listen 0.0.0.0:8443 quic;
    root /usr/share/nginx;
    ssl_certificate     /etc/nginx/ssl/localhost.crt;
    ssl_certificate_key /etc/nginx/ssl/localhost.key;
    index index.html index.htm;
  }
}