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/quentin/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/services/web/quentin') diff --git a/config/services/web/quentin/default.nix b/config/services/web/quentin/default.nix index 468dec4..8456565 100644 --- a/config/services/web/quentin/default.nix +++ b/config/services/web/quentin/default.nix @@ -1,7 +1,8 @@ { config, pkgs, ... }: { - services.nginx.virtualHosts."quentin.${config.networking.domain}" = { + services.nginx.virtualHosts.quentin = { + serverName = "quentin.${config.networking.domain}"; locations."/".root = "${pkgs.personal.academic-webpage}"; forceSSL = true; enableACME = true; -- cgit v1.2.3