hosts/vps1: fix nginx resolver issues
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m27s
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m27s
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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}" =
|
||||||
|
|||||||
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user