From c3474f9c273206c4b0aaa09a2374e6cf83eaa973 Mon Sep 17 00:00:00 2001 From: kalipso Date: Sat, 7 Mar 2026 16:01:15 +0100 Subject: [PATCH] [pretalx] proxy through vpn --- machines/durruti/host_config.nix | 10 ++++++++++ machines/vpn/configuration.nix | 9 +++++++++ 2 files changed, 19 insertions(+) diff --git a/machines/durruti/host_config.nix b/machines/durruti/host_config.nix index bcef1337..cd71b111 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 e2ebee3a..21720a89 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";