add ipv6 in nginx

neo
Lzebulon 2025-01-27 19:00:50 +01:00 committed by RatCornu
parent fb5c0e2942
commit afc6d918ce
No known key found for this signature in database
GPG Key ID: B3BE02E379E6E8E2
1 changed files with 15 additions and 0 deletions

View File

@ -132,16 +132,31 @@
port = 80;
ssl = false;
}
{
addr = "[::]";
port = 80;
ssl = false;
}
{
addr = "0.0.0.0";
port = 443;
ssl = true;
}
{
addr = "[::]";
port = 443;
ssl = true;
}
{
addr = "0.0.0.0";
port = 8448;
ssl = true;
}
{
addr = "[::]";
port = 8448;
ssl = true;
}
];
locations."/_matrix" = {