1
0

Added listen option for IPv6. Added allow option for my IPv6-prefix.

This commit is contained in:
Alexander Andreev 2024-07-07 19:40:57 +04:00
parent b4171bed0d
commit a5ccd81f28
Signed by: Arav
GPG Key ID: 25969B23DCB5CA34

View File

@ -1,5 +1,6 @@
server {
listen 443 http2;
listen [::]:443 http2;
listen 8090; # Tor I2P
listen [300:a98d:d6d0:8a08::f]:80; # Yggdrasil
@ -38,6 +39,7 @@ server {
proxy_set_header Schema $scheme;
allow 192.168.144.0/25;
allow 2a03:e2c0:4a0f::/48;
deny all;
}
@ -50,6 +52,7 @@ server {
proxy_set_header Schema $scheme;
allow 192.168.144.0/25;
allow 2a03:e2c0:4a0f::/48;
deny all;
}
@ -66,6 +69,7 @@ server {
proxy_buffering off;
allow 192.168.144.0/25;
allow 2a03:e2c0:4a0f::/48;
deny all;
}
@ -74,6 +78,7 @@ server {
proxy_buffering off;
allow 192.168.144.0/25;
allow 2a03:e2c0:4a0f::/48;
deny all;
}