diff --git a/machines/web01/eleves.nix b/machines/web01/eleves.nix index 8a75967..939009e 100644 --- a/machines/web01/eleves.nix +++ b/machines/web01/eleves.nix @@ -12,8 +12,7 @@ in { root = "${sources.www-eleves.outPath}/www"; locations."/" = { - tryFiles = "$uri $uri/index.html 404"; - index = "/fr/index.html"; + tryFiles = "$uri $uri/index.html /fr/$uri /en/$uri /fr/index.html"; }; }; } diff --git a/npins/sources.json b/npins/sources.json index 454fbd5..e627462 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": "313e200264bb8db940b8b158ef7a385680d717b1", + "revision": "75aab3de8cf3bdbcbf9354c5ba48a4584d4e7e4d", "url": null, - "hash": "1yqk9x8y6jr94xjhbs6rnwhcvy0ym2s5ilnqqric8g38dh63ys7z" + "hash": "07l7imbbbqah1mfvii2cn5cdjzvh0diybyla05ff119g2414gmb6" } }, "version": 3