forked from DGNum/infrastructure
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, ... }:
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue