From bf67e82bcd7d274fe38b71feb8b3e3875411f034 Mon Sep 17 00:00:00 2001 From: Ivan Bushchik Date: Fri, 27 Oct 2023 13:14:19 +0300 Subject: [PATCH] Add music.ivabus.dev to proxying services Signed-off-by: Ivan Bushchik --- machines/rubusidaeus/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/machines/rubusidaeus/default.nix b/machines/rubusidaeus/default.nix index 8f02a58..1aa3227 100644 --- a/machines/rubusidaeus/default.nix +++ b/machines/rubusidaeus/default.nix @@ -68,6 +68,11 @@ in { addSSL = true; serverAliases = [ "ивабус.рф" ]; }; + virtualHosts."music.ivabus.dev" = { + locations."/".proxyPass = "http://${secrets.maas-address}:4533"; + enableACME = true; + forceSSL = true; + }; };