hosts/vps1: fix nginx resolver issues
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m27s

This commit is contained in:
2025-11-15 13:32:11 +00:00
parent 6f9360cb76
commit f1d05a0203
3 changed files with 5 additions and 4 deletions

View File

@@ -60,7 +60,7 @@ in
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
locations."/" = { locations."/" = {
proxyPass = "http://localhost:${toString config.services.headscale.port}"; proxyPass = "http://127.0.0.1:${toString config.services.headscale.port}";
proxyWebsockets = true; proxyWebsockets = true;
}; };
}; };

View File

@@ -136,16 +136,16 @@ in
]; ];
locations = { locations = {
"/" = { "/" = {
proxyPass = "http://localhost:8008"; proxyPass = "http://127.0.0.1:8008";
extraConfig = proxyConfig; extraConfig = proxyConfig;
}; };
"/_matrix" = { "/_matrix" = {
proxyPass = "http://localhost:8008"; proxyPass = "http://127.0.0.1:8008";
extraConfig = proxyConfig + '' extraConfig = proxyConfig + ''
client_max_body_size 50M; client_max_body_size 50M;
''; '';
}; };
"/_synapse/client".proxyPass = "http://localhost:8008"; "/_synapse/client".proxyPass = "http://127.0.0.1:8008";
}; };
}; };
"${serverName}" = "${serverName}" =

View File

@@ -82,6 +82,7 @@ in
maxSize = "100m"; maxSize = "100m";
}; };
}; };
proxyResolveWhileRunning = true;
resolver.addresses = [ "100.100.100.100" ]; resolver.addresses = [ "100.100.100.100" ];
upstreams = { upstreams = {
jellyfin.servers = { jellyfin.servers = {