feat(npins): Add calendrier.eleves.ens.fr

Also deploy updated version with analytics
This commit is contained in:
Tom Hubrecht 2023-09-28 12:14:38 +02:00
parent 1786499291
commit 18b6744ef1
2 changed files with 10 additions and 6 deletions

View file

@ -1,8 +1,6 @@
{ lib, pkgs, sources, ... }:
let
host = "calendrier.dgnum.eu";
package = pkgs.callPackage ./package.nix { src = sources.metis; };
providers = {
@ -10,8 +8,8 @@ let
eleves-ens = "cloud.eleves.ens.fr";
frama-agenda = "framagenda.org";
};
in {
services.nginx.virtualHosts.${host} = {
nginxConf = {
enableACME = true;
forceSSL = true;
root = package;
@ -28,4 +26,10 @@ in {
'';
}) providers;
};
in {
services.nginx.virtualHosts = {
"calendrier.eleves.ens.fr" = nginxConf;
"calendrier.dgnum.eu" = nginxConf;
};
}

View file

@ -60,9 +60,9 @@
"url": "https://git.dgnum.eu/DGNum/metis"
},
"branch": "master",
"revision": "f086aab2bf940035acab3ea6c3c15ebd966ebe8c",
"revision": "d5a7f393842abc0ed5d808f1dab4c9946eb7f910",
"url": null,
"hash": "0inivyfsq86bwsfqcrflj9mkx1lcsn0g2y2lpk03ibh417jxq1vx"
"hash": "0rpyj5sczpx5yc1zjfs06n6kblcik9kl4jj1mqf1igppif0ypp0l"
},
"nix-lib": {
"type": "GitRelease",