diff --git a/machines/durruti/host_config.nix b/machines/durruti/host_config.nix index bcef133..cd71b11 100644 --- a/machines/durruti/host_config.nix +++ b/machines/durruti/host_config.nix @@ -63,6 +63,16 @@ in }; }; + services.nginx.virtualHosts."talks.malobeo.org" = { + forceSSL = true; + enableACME= true; + locations."/" = { + proxyPass = "http://10.0.0.10"; + extraConfig = '' + ''; + }; + }; + services.nginx.virtualHosts."tasklist.malobeo.org" = { forceSSL = true; enableACME= true; diff --git a/machines/vpn/configuration.nix b/machines/vpn/configuration.nix index e2ebee3..21720a8 100644 --- a/machines/vpn/configuration.nix +++ b/machines/vpn/configuration.nix @@ -58,6 +58,15 @@ with lib; }; }; + virtualHosts."talks.malobeo.org" = { + locations."/" = { + proxyPass = "http://10.100.0.101"; + extraConfig = '' + proxy_set_header Host $host; + ''; + }; + }; + virtualHosts."tasklist.malobeo.org" = { locations."/" = { proxyPass = "http://10.100.0.101";