feat(npins): Add calendrier.eleves.ens.fr
Also deploy updated version with analytics
This commit is contained in:
parent
1786499291
commit
18b6744ef1
2 changed files with 10 additions and 6 deletions
|
@ -1,8 +1,6 @@
|
||||||
{ lib, pkgs, sources, ... }:
|
{ lib, pkgs, sources, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
host = "calendrier.dgnum.eu";
|
|
||||||
|
|
||||||
package = pkgs.callPackage ./package.nix { src = sources.metis; };
|
package = pkgs.callPackage ./package.nix { src = sources.metis; };
|
||||||
|
|
||||||
providers = {
|
providers = {
|
||||||
|
@ -10,8 +8,8 @@ let
|
||||||
eleves-ens = "cloud.eleves.ens.fr";
|
eleves-ens = "cloud.eleves.ens.fr";
|
||||||
frama-agenda = "framagenda.org";
|
frama-agenda = "framagenda.org";
|
||||||
};
|
};
|
||||||
in {
|
|
||||||
services.nginx.virtualHosts.${host} = {
|
nginxConf = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
root = package;
|
root = package;
|
||||||
|
@ -28,4 +26,10 @@ in {
|
||||||
'';
|
'';
|
||||||
}) providers;
|
}) providers;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
in {
|
||||||
|
services.nginx.virtualHosts = {
|
||||||
|
"calendrier.eleves.ens.fr" = nginxConf;
|
||||||
|
"calendrier.dgnum.eu" = nginxConf;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,9 +60,9 @@
|
||||||
"url": "https://git.dgnum.eu/DGNum/metis"
|
"url": "https://git.dgnum.eu/DGNum/metis"
|
||||||
},
|
},
|
||||||
"branch": "master",
|
"branch": "master",
|
||||||
"revision": "f086aab2bf940035acab3ea6c3c15ebd966ebe8c",
|
"revision": "d5a7f393842abc0ed5d808f1dab4c9946eb7f910",
|
||||||
"url": null,
|
"url": null,
|
||||||
"hash": "0inivyfsq86bwsfqcrflj9mkx1lcsn0g2y2lpk03ibh417jxq1vx"
|
"hash": "0rpyj5sczpx5yc1zjfs06n6kblcik9kl4jj1mqf1igppif0ypp0l"
|
||||||
},
|
},
|
||||||
"nix-lib": {
|
"nix-lib": {
|
||||||
"type": "GitRelease",
|
"type": "GitRelease",
|
||||||
|
|
Loading…
Reference in a new issue