summaryrefslogtreecommitdiff
path: root/hosts/fscusat/modules/mirror/www.nix
blob: ebde425f3a8144f392475703e8110ae84ff27f94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{ ... }:

let
  domain = "foss.fscusat.ac.in";
in
{
  services.nginx.virtualHosts.${domain}.locations."/mirror/" = {
    alias = "/var/cache/mirror/";
    extraConfig = "autoindex on;";
  };
}