blob: c7bd78a224bf0d61429162d76c66187d92422964 [file] [log] [blame]
Filip Tehlar31eaea92023-06-15 10:06:57 +02001master_process off;
2daemon off;
3
4events {
5 use epoll;
6 accept_mutex off;
7 multi_accept off;
8}
9
10http {
11 quic_gso on;
12 quic_retry on;
13
14 access_log logs/access.log;
15 keepalive_timeout 300s;
16 sendfile on;
17 server {
18 listen 0.0.0.0:8443 quic;
19 listen 0.0.0.0:8443 ssl;
20 root /usr/share/nginx;
21 ssl_certificate /etc/nginx/ssl/localhost.crt;
22 ssl_certificate_key /etc/nginx/ssl/localhost.key;
23 index index.html index.htm;
24 }
25}