infrastructure/hosts/hydrogen/services/nginx/n7/default.nix

23 lines
804 B
Nix

{ pkgs, ... }: {
services.nginx.virtualHosts = {
"n7.laurent.fainsin.bzh" = {
enableACME = true;
forceSSL = true;
locations = {
"/".return = "301 $scheme://git.fainsin.bzh/ENSEEIHT";
} // {
"/projet-audionumerique/" = import ./projet-audionumerique.nix pkgs;
"/projet-systemes-algorithmes-repartis/" =
import ./projet-systemes-algorithmes-repartis.nix pkgs;
"/projet-intelligence-artificielle-multimedia/" =
import ./projet-intelligence-artificielle-multimedia.nix pkgs;
"/TP-calcul-parallele/" = import ./TP-calcul-parallele.nix pkgs;
"/projet-probleme-inverse-3D/" =
import ./projet-probleme-inverse-3D.nix pkgs;
"/projet-long/" = import ./projet-long.nix pkgs;
};
};
};
}