[albert] move proxy to fanny
also add the cache location
This commit is contained in:
@@ -77,7 +77,7 @@ in
|
|||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
firewall = {
|
firewall = {
|
||||||
allowedTCPPorts = [ 80 443 3000 ];
|
allowedTCPPorts = [ 80 443 3000 5000];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -95,11 +95,5 @@
|
|||||||
"git+ssh://git.dynamicdiscord.de/"
|
"git+ssh://git.dynamicdiscord.de/"
|
||||||
"https://git.dynamicdiscord.de"
|
"https://git.dynamicdiscord.de"
|
||||||
];
|
];
|
||||||
|
|
||||||
services.nginx.virtualHosts."hydra.malobeo.org" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
locations."/".proxyPass = "http://localhost:3000";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -298,6 +298,17 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtualHosts."hydra.malobeo.org" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/".proxyPass = "http://${hosts.malobeo.hosts.albert.network.address}:3000";
|
||||||
|
};
|
||||||
|
virtualHosts."cache.malobeo.org" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/".proxyPass = "http://${hosts.malobeo.hosts.albert.network.address}:5000";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.tor = {
|
services.tor = {
|
||||||
|
|||||||
Reference in New Issue
Block a user