fix(nixin-web): keep local ip listeners

This commit is contained in:
Florian Schmitt 2024-12-27 11:52:27 +03:00
parent 753400ea5f
commit b6b61f41ef

View file

@ -36,6 +36,16 @@ in
config = {
services.nginx.virtualHosts."${config.nixin.web.domain}" = {
listen = [
{
addr = "127.0.0.1";
port = config.nixin.web.http-port;
ssl = false;
}
{
addr = "[::1]";
port = config.nixin.web.http-port;
ssl = false;
}
{
addr = config.nixin.wg.client.ipv4;
port = config.nixin.web.http-port;