explicitly use v4 localhost

This commit is contained in:
Joakim Repomaa
2025-02-08 15:42:01 +02:00
committed by Joakim Repomaa
parent 39134ba640
commit 599ca53f1d
9 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -42,6 +42,6 @@ in
]
);
"${fqdn}".locations."/".proxy = "http://localhost:${toString port}";
"${fqdn}".locations."/".proxy = "http://127.0.0.1:${toString port}";
};
}
+1 -1
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" ];
+1 -1
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";
+1 -1
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}";
}
+1 -1
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}";
}
+1 -1
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 ];
}
+1 -1
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;
'';
+2 -2
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 = {
+1 -1
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}";
}