diff --git a/machines/durruti/host_config.nix b/machines/durruti/host_config.nix index b4e1d0d2..229b2389 100644 --- a/machines/durruti/host_config.nix +++ b/machines/durruti/host_config.nix @@ -57,6 +57,17 @@ in }; }; + services.nginx.virtualHosts."keys.malobeo.org" = { + forceSSL = true; + enableACME= true; + locations."/" = { + proxyPass = "http://10.0.0.10"; + extraConfig = '' + ''; + }; + }; + + services.nginx.virtualHosts."grafana.malobeo.org" = { forceSSL = true; enableACME= true; diff --git a/machines/fanny/configuration.nix b/machines/fanny/configuration.nix index 7300e51f..b4781814 100644 --- a/machines/fanny/configuration.nix +++ b/machines/fanny/configuration.nix @@ -173,6 +173,15 @@ in }; }; + virtualHosts."keys.malobeo.org" = { + locations."/" = { + proxyPass = "http://10.0.0.16"; + extraConfig = '' + proxy_set_header Host $host; + ''; + }; + }; + virtualHosts."grafana.malobeo.org" = { locations."/" = { proxyPass = "http://10.0.0.14"; diff --git a/machines/vpn/configuration.nix b/machines/vpn/configuration.nix index 2eeafefa..f41fcf62 100644 --- a/machines/vpn/configuration.nix +++ b/machines/vpn/configuration.nix @@ -53,6 +53,15 @@ with lib; }; }; + virtualHosts."keys.malobeo.org" = { + locations."/" = { + proxyPass = "http://10.100.0.101"; + extraConfig = '' + proxy_set_header Host $host; + ''; + }; + }; + virtualHosts."grafana.malobeo.org" = { locations."/" = { proxyPass = "http://10.100.0.101";