ma binary-cache: add gum

This commit is contained in:
makefu 2019-04-18 08:32:33 +02:00
parent c9ad1359f1
commit 398f96dfff
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
2 changed files with 17 additions and 3 deletions

View File

@ -0,0 +1,13 @@
{ config, ... }:
{
nix = {
binaryCaches = [
"https://cache.euer.krebsco.de/"
];
binaryCachePublicKeys = [
"gum:iIXIFlCAotib+MgI3V/i3HMlFXiVYOT/jfP0y54Zuvg="
];
};
}

View File

@ -19,9 +19,10 @@
}; };
services.nginx = { services.nginx = {
enable = true; enable = true;
virtualHosts.nix-serve = { virtualHosts."cache.euer.krebsco.de" = {
serverAliases = [ "cache.gum.r" forceSSL = true;
"cache.euer.krebsco.de" enableACME = true;
serverAliases = [ # "cache.gum.r"
"cache.gum.krebsco.de" "cache.gum.krebsco.de"
]; ];
locations."/".proxyPass= "http://localhost:${toString config.services.nix-serve.port}"; locations."/".proxyPass= "http://localhost:${toString config.services.nix-serve.port}";