From 32e5d6cd9bad09fda90d3720173127d7f0acfbe8 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Tue, 23 Nov 2021 20:23:26 +0100 Subject: replace literal instances of 'aristote.fr' by ${config.networking.domain} --- config/services/web/money/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/services/web/money/default.nix') diff --git a/config/services/web/money/default.nix b/config/services/web/money/default.nix index ce8ceea..1853aab 100644 --- a/config/services/web/money/default.nix +++ b/config/services/web/money/default.nix @@ -2,7 +2,7 @@ let cfg = config.services.ihatemoney; in { - services.nginx.virtualHosts."money.aristote.fr" = lib.mkIf cfg.enable { + services.nginx.virtualHosts."money.${config.networking.domain}" = lib.mkIf cfg.enable { forceSSL = true; enableACME = true; locations."/".proxyPass = "http://127.0.0.1${cfg.uwsgiConfig.http}/"; -- cgit v1.2.3