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;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:${toString config.services.headscale.port}";
proxyPass = "http://127.0.0.1:${toString config.services.headscale.port}";
proxyWebsockets = true;
};
};

View File

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

View File

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