diff options
author | Emile <git@emile.space> | 2024-09-19 13:38:16 +0200 |
---|---|---|
committer | Emile <git@emile.space> | 2024-09-19 13:38:16 +0200 |
commit | 5a34f52fb8acf4a20855b239f26f347c43181908 (patch) | |
tree | 004ceaadcec05ea7c636e75d2a39b6b988301267 /nix/hosts/corrino/www/nix-cache/nix-cache.emile.space.nix | |
parent | b3b0bdecc88a26da518dc074e2bb9eb709c5fc9d (diff) |
nix-cache init
Diffstat (limited to 'nix/hosts/corrino/www/nix-cache/nix-cache.emile.space.nix')
-rw-r--r-- | nix/hosts/corrino/www/nix-cache/nix-cache.emile.space.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/nix/hosts/corrino/www/nix-cache/nix-cache.emile.space.nix b/nix/hosts/corrino/www/nix-cache/nix-cache.emile.space.nix index cbb6a0d..48887ad 100644 --- a/nix/hosts/corrino/www/nix-cache/nix-cache.emile.space.nix +++ b/nix/hosts/corrino/www/nix-cache/nix-cache.emile.space.nix @@ -6,6 +6,12 @@ enableACME = true; locations = { + "= /" = { + index = "/index.txt"; + }; + "= /index.txt" = { + root = ./nix-cache.emile.space; + }; "/" = { proxyPass = "http://${config.services.harmonia.settings.bind}"; }; @@ -24,9 +30,6 @@ # locations."= /" = { # index = "/index.txt"; # }; - # locations."= /index.txt" = { - # root = ./index.txt; - # }; # locations."= /nix/store/" = { # extraConfig = '' # return 404; |