From 6aa6f2e171c1c594071bf69fefd8d75187b4c30b Mon Sep 17 00:00:00 2001 From: kalipso Date: Fri, 17 Jan 2025 13:59:54 +0100 Subject: [PATCH] [uptimekuma] set redirects --- machines/durruti/host_config.nix | 10 ++++++++++ machines/fanny/configuration.nix | 8 ++++++++ machines/vpn/configuration.nix | 9 +++++++++ 3 files changed, 27 insertions(+) diff --git a/machines/durruti/host_config.nix b/machines/durruti/host_config.nix index 121acd1f..55c99c7c 100644 --- a/machines/durruti/host_config.nix +++ b/machines/durruti/host_config.nix @@ -43,6 +43,16 @@ in }; }; + services.nginx.virtualHosts."status.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/fanny/configuration.nix b/machines/fanny/configuration.nix index 093476c4..691ec70b 100644 --- a/machines/fanny/configuration.nix +++ b/machines/fanny/configuration.nix @@ -71,6 +71,14 @@ in ''; }; }; + + virtualHosts."status.malobeo.org" = { + locations."/" = { + proxyPass = "http://10.0.0.12:80"; + extraConfig = '' + ''; + }; + }; }; services.tor = { diff --git a/machines/vpn/configuration.nix b/machines/vpn/configuration.nix index bd67ecfe..d27d1482 100644 --- a/machines/vpn/configuration.nix +++ b/machines/vpn/configuration.nix @@ -38,6 +38,15 @@ with lib; }; }; + + virtualHosts."status.malobeo.org" = { + locations."/" = { + proxyPass = "http://10.100.0.101"; + extraConfig = '' + ''; + }; + + }; }; system.stateVersion = "22.11"; # Did you read the comment?