explicitly use v4 localhost

This commit is contained in:
Joakim Repomaa
2025-02-07 19:16:38 +02:00
committed by Joakim Repomaa
parent 39134ba640
commit 599ca53f1d
9 changed files with 10 additions and 10 deletions

View File

@@ -42,6 +42,6 @@ in
]
);
"${fqdn}".locations."/".proxy = "http://localhost:${toString port}";
"${fqdn}".locations."/".proxy = "http://127.0.0.1:${toString port}";
};
}

View File

@@ -43,7 +43,7 @@ in
];
};
modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://localhost:${toString port}";
modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://127.0.0.1:${toString port}";
services.postgresql = {
ensureDatabases = [ "grafana" ];

View File

@@ -167,7 +167,7 @@ in
wantedBy = [ "multi-user.target" ];
};
modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://localhost:${toString port}";
modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://127.0.0.1:${toString port}";
fileSystems."${immich_data_dir}" = {
device = "//u407959.your-storagebox.de/backup/immich";

View File

@@ -19,5 +19,5 @@ in
};
};
modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://localhost:${toString port}";
modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://127.0.0.1:${toString port}";
}

View File

@@ -10,5 +10,5 @@ in
inherit port;
};
modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://localhost:${toString port}";
modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://127.0.0.1:${toString port}";
}

View File

@@ -38,7 +38,7 @@ in
};
};
modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://localhost:${toString port}";
modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://127.0.0.1:${toString port}";
networking.firewall.allowedTCPPorts = [ sshPort ];
}

View File

@@ -14,7 +14,7 @@ in
};
modules.webserver.vHosts.${fqdn}.locations."/" = {
proxy = "http://localhost:${toString port}";
proxy = "http://127.0.0.1:${toString port}";
extraConfig = ''
proxy_set_header Host $host;
'';

View File

@@ -27,8 +27,8 @@ in
};
modules.webserver.vHosts.${fqdn}.locations = {
"/".proxy = "http://localhost:8000";
"/notifications/hub".proxy = "http://localhost:3012";
"/".proxy = "http://127.0.0.1:8000";
"/notifications/hub".proxy = "http://127.0.0.1:3012";
};
services.postgresql = {

View File

@@ -31,5 +31,5 @@ in
};
};
modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://localhost:${toString port}";
modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://127.0.0.1:${toString port}";
}