1 { pkgs, lib, config, ... }:
2 let inherit (config) networking;
3 inherit (config.services) nginx;
4 domain = "sourcephile.fr";
9 serverName = "www.${domain}";
10 serverAliases = [ domain ];
13 root = "/home/julm/work/sourcephile/doc";
14 locations."/".extraConfig = ''
17 fancyindex_name_length 255;
18 fancyindex_exact_size off;
20 locations."/git".return = "302 http://git.${domain}";
21 locations."/codes_sources".return = "302 http://git.${domain}";