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