feat(simiweb): Move to S3

This commit is contained in:
sinavir 2024-03-16 16:17:02 +01:00
parent a7664ce44b
commit f74fd8c8eb
3 changed files with 4 additions and 23 deletions

View file

@ -18,6 +18,9 @@ let
"boussole-sante.normalesup.eu" = { "boussole-sante.normalesup.eu" = {
mainDomain = true; mainDomain = true;
}; };
"simi.normalesup.eu" = {
mainDomain = true;
};
}; };
in in
{ {

View file

@ -1,9 +1,4 @@
{ { lib, ... }:
lib,
pkgs,
sources,
...
}:
let let
inherit (lib) recursiveUpdate; inherit (lib) recursiveUpdate;
@ -24,11 +19,5 @@ in
"eleves.dgnum.eu".locations."/".tryFiles = "$uri $uri/index.html /fr/$uri /en/$uri /fr/index.html"; "eleves.dgnum.eu".locations."/".tryFiles = "$uri $uri/index.html /fr/$uri /en/$uri /fr/index.html";
"retired.dgnum.eu".locations."/".tryFiles = "/index.html =404"; "retired.dgnum.eu".locations."/".tryFiles = "/index.html =404";
"simi.normalesup.eu" = {
enableACME = true;
forceSSL = true;
root = (import sources.simiweb { inherit pkgs; }).site;
};
}; };
} }

View file

@ -154,17 +154,6 @@
"url": "https://github.com/cachix/pre-commit-hooks.nix/archive/5df5a70ad7575f6601d91f0efec95dd9bc619431.tar.gz", "url": "https://github.com/cachix/pre-commit-hooks.nix/archive/5df5a70ad7575f6601d91f0efec95dd9bc619431.tar.gz",
"hash": "08wz19qh89bi15b7y1a5dcdj6l4bar39k0jfhcy60glywkmn1qrk" "hash": "08wz19qh89bi15b7y1a5dcdj6l4bar39k0jfhcy60glywkmn1qrk"
}, },
"simiweb": {
"type": "Git",
"repository": {
"type": "Git",
"url": "https://git.dgnum.eu/jmarquet/simiweb"
},
"branch": "master",
"revision": "dfb86101e45f56416e17d6a501c29e764b02d486",
"url": null,
"hash": "1k8nrc9zzhmxb6szr2lvrzx5krmibdlc1n79620xxif2gaiglkn8"
},
"wp4nix": { "wp4nix": {
"type": "Git", "type": "Git",
"repository": { "repository": {