diff --git a/machines/web02/cas-eleves/default.nix b/machines/web02/cas-eleves/default.nix index 2d546c7..bdef507 100644 --- a/machines/web02/cas-eleves/default.nix +++ b/machines/web02/cas-eleves/default.nix @@ -137,10 +137,12 @@ in ]; }; - nginx.virtualHosts."cas-eleves.dgnum.eu" = { + nginx.virtualHosts."cas.eleves.ens.fr" = { enableACME = true; forceSSL = true; + serverAliases = [ "cas-eleves.dgnum.eu" ]; + locations = { "/".proxyPass = "http://127.0.0.1:${builtins.toString port}"; "/static/".root = staticDrv;