infrastructure/hosts/hydrogen/services/nginx/n7/projet-long.nix

12 lines
342 B
Nix
Raw Normal View History

2023-12-15 15:18:36 +00:00
{pkgs, ...}: let
2023-06-25 18:34:55 +00:00
pages = pkgs.fetchgit {
url = "https://git.fainsin.bzh/ENSEEIHT/projet-long";
rev = "8290710fa7461c486dc727966c8eaa2234ae2e7d"; # pages
sha256 = "1xwc0hfdn77183vvm6gadibdd0bh379192qkzf2xvidfhb8yzgqr";
2023-06-25 18:34:55 +00:00
};
in {
alias = "${pages}/";
index = "index.html";
tryFiles = "$uri $uri/ /projet-long/index.html";
2023-06-25 18:34:55 +00:00
}