[durruti] add ep3-bs

This commit is contained in:
2023-05-17 13:38:39 +02:00
parent 1045604ee9
commit 907e829d0e
2 changed files with 30 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ in
{
assertions = [
{
assertion = cfg.host_ip == "";
assertion = cfg.host_ip != "";
message = ''
You need to specify host_ip of the nix container
'';
@@ -36,7 +36,13 @@ in
services.nginx.virtualHosts."tasklist.malobeo.org" = {
forceSSL = true;
enableACME= true;
locations."/".proxyPass = "http://10.233.1.2:8080";
locations."/".proxyPass = "http://${cfg.host_ip}:8080";
};
services.nginx.virtualHosts."booking.dynamicdiscord.de" = {
forceSSL = true;
enableACME= true;
locations."/".proxyPass = "http://${cfg.host_ip}:80";
};
};