From 82ac4ba2be1acc803eac76996cc61bd2121570b9 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Tue, 17 Dec 2024 12:59:53 +0100 Subject: [PATCH] chore(cas-eleves): Remove server alias as we have a permanent redirection in place --- machines/nixos/web02/cas-eleves/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/machines/nixos/web02/cas-eleves/default.nix b/machines/nixos/web02/cas-eleves/default.nix index 9d8f8db..8a2dbca 100644 --- a/machines/nixos/web02/cas-eleves/default.nix +++ b/machines/nixos/web02/cas-eleves/default.nix @@ -135,12 +135,9 @@ in dgn-web.simpleProxies.cas-eleves = { inherit host port; - vhostConfig = { - serverAliases = [ "cas-eleves.dgnum.eu" ]; - locations = { - "/static/".root = staticDrv; - "= /robots.txt".root = "${staticDrv}/static"; - }; + vhostConfig.locations = { + "/static/".root = staticDrv; + "= /robots.txt".root = "${staticDrv}/static"; }; };