diff --git a/machines/web01/eleves.nix b/machines/web01/eleves.nix index c97be77..8a75967 100644 --- a/machines/web01/eleves.nix +++ b/machines/web01/eleves.nix @@ -12,7 +12,8 @@ in { root = "${sources.www-eleves.outPath}/www"; locations."/" = { - tryFiles = "$uri /fr/$uri /en/$uri /fr/index.html"; + tryFiles = "$uri $uri/index.html 404"; + index = "/fr/index.html"; }; }; } diff --git a/npins/sources.json b/npins/sources.json index b2df16a..454fbd5 100644 --- a/npins/sources.json +++ b/npins/sources.json @@ -132,9 +132,9 @@ "url": "https://git.dgnum.eu/DGNum/www.eleves.ens.fr.git" }, "branch": "main", - "revision": "41ef3fb326a540cb8ebd7d84b4f742f9416ef484", + "revision": "313e200264bb8db940b8b158ef7a385680d717b1", "url": null, - "hash": "10zhsc50wzcydzv73gi3q7rlbpcm5nzhph0q6py3wngrkz048b23" + "hash": "1yqk9x8y6jr94xjhbs6rnwhcvy0ym2s5ilnqqric8g38dh63ys7z" } }, "version": 3