Florin Coras | 7428eaa | 2023-12-11 16:04:57 -0800 | [diff] [blame] | 1 | master_process on; |
| 2 | worker_processes 2; |
Filip Tehlar | 31eaea9 | 2023-06-15 10:06:57 +0200 | [diff] [blame] | 3 | daemon off; |
| 4 | |
| 5 | events { |
| 6 | use epoll; |
| 7 | accept_mutex off; |
| 8 | multi_accept off; |
| 9 | } |
| 10 | |
| 11 | http { |
| 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 Coras | 7428eaa | 2023-12-11 16:04:57 -0800 | [diff] [blame] | 20 | #listen 0.0.0.0:8443 ssl; |
Filip Tehlar | 31eaea9 | 2023-06-15 10:06:57 +0200 | [diff] [blame] | 21 | 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 | } |