From b5d2cf05371496913a2f826ae7d80a486eacc6ee Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Wed, 11 Dec 2024 01:00:28 +0400 Subject: [PATCH] Updated nginx.conf. --- configs/nginx.conf | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/configs/nginx.conf b/configs/nginx.conf index d90e57c..a46eef6 100644 --- a/configs/nginx.conf +++ b/configs/nginx.conf @@ -1,10 +1,23 @@ server { - listen 443 http2; - listen 127.0.0.1:8112; # I2P + listen 443 ssl; + listen 443 quic; + listen [::]:443 ssl; + listen [::]:443 quic; + + http2 on; + http3 on; + http3_hq on; + quic_gso on; + quic_retry on; + + listen 8092; # Tor I2P listen [300:a98d:d6d0:8a08::d]:80; # Yggdrasil - server_name files.arav.su files.arav.i2p qf5e43nlhvnrutmikuvbdfj3cmtthokpbaxtkm6mjlslttzvtgm4fxid.onion; + server_name files.arav.su + files.arav.i2p + gajftpr47ze6ao7e3q2tb5xmcqneyaczu4edzvwwg2qzmnernpka.b32.i2p + qf5e43nlhvnrutmikuvbdfj3cmtthokpbaxtkm6mjlslttzvtgm4fxid.onion; access_log /var/log/nginx/dwelling/files.log main if=$nolog;