From 56b42e1235c70cd0568994fc36146a34d33f0b37 Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 18 Apr 2024 10:49:45 -0400 Subject: atlas: move domain to getchoo.com --- systems/atlas/nginx.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'systems/atlas/nginx.nix') diff --git a/systems/atlas/nginx.nix b/systems/atlas/nginx.nix index 9fe0b38..d453b15 100644 --- a/systems/atlas/nginx.nix +++ b/systems/atlas/nginx.nix @@ -4,12 +4,18 @@ ... }: let inherit (inputs.self.lib.nginx) mkProxy toVHosts; + + miniflux = { + locations = mkProxy "/" "7000"; + }; in { services.nginx = { - virtualHosts = toVHosts config.networking.domain { - miniflux = { - locations = mkProxy "/" "7000"; + virtualHosts = + toVHosts config.networking.domain { + inherit miniflux; + } + // toVHosts "mydadleft.me" { + inherit miniflux; }; - }; }; } -- cgit v1.2.3