serve nixcache home as text/plain
This commit is contained in:
parent
925f78853b
commit
f34eec7b17
1 changed files with 8 additions and 0 deletions
|
@ -43,6 +43,14 @@
|
|||
serverAliases = [ "nixcache.cy7.sh" ];
|
||||
extraConfig = ''
|
||||
import common
|
||||
@plain {
|
||||
host nixcache.cy7.sh nixcache.web.cy7.sh
|
||||
path / /nix-cache-info
|
||||
}
|
||||
header @plain {
|
||||
>content-type text/plain
|
||||
}
|
||||
|
||||
reverse_proxy localhost:3902
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue