diff --git a/machines/durruti/host_config.nix b/machines/durruti/host_config.nix index 9bb3c7b..84e46b7 100644 --- a/machines/durruti/host_config.nix +++ b/machines/durruti/host_config.nix @@ -44,6 +44,17 @@ in }; }; + services.nginx.virtualHosts."cloud.malobeo.org" = { + forceSSL = true; + enableACME= true; + locations."/" = { + proxyPass = "http://10.0.0.10"; + extraConfig = '' + proxy_set_header Host $host; + ''; + }; + }; + services.nginx.virtualHosts."status.malobeo.org" = { forceSSL = true; enableACME= true; @@ -60,11 +71,5 @@ in enableACME= true; locations."/".proxyPass = "http://${cfg.host_ip}:8080"; }; - - services.nginx.virtualHosts."booking.dynamicdiscord.de" = { - forceSSL = true; - enableACME= true; - locations."/".proxyPass = "http://${cfg.host_ip}:80"; - }; }; } diff --git a/machines/vpn/configuration.nix b/machines/vpn/configuration.nix index a71cf8f..16f8f51 100644 --- a/machines/vpn/configuration.nix +++ b/machines/vpn/configuration.nix @@ -37,7 +37,15 @@ with lib; proxy_set_header Host $host; ''; }; + }; + virtualHosts."cloud.malobeo.org" = { + locations."/" = { + proxyPass = "http://10.100.0.101"; + extraConfig = '' + proxy_set_header Host $host; + ''; + }; }; };