From a468ef741c176342179650e39abb5f28131122ae Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Fri, 26 Nov 2021 14:53:56 +0100 Subject: rename attrsets of virtualhosts for more concision --- config/services/web/money/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/services/web/money') diff --git a/config/services/web/money/default.nix b/config/services/web/money/default.nix index 1853aab..3a9f58b 100644 --- a/config/services/web/money/default.nix +++ b/config/services/web/money/default.nix @@ -2,7 +2,8 @@ let cfg = config.services.ihatemoney; in { - services.nginx.virtualHosts."money.${config.networking.domain}" = lib.mkIf cfg.enable { + services.nginx.virtualHosts.money = lib.mkIf cfg.enable { + serverName = "money.${config.networking.domain}"; forceSSL = true; enableACME = true; locations."/".proxyPass = "http://127.0.0.1${cfg.uwsgiConfig.http}/"; -- cgit v1.2.3