summaryrefslogtreecommitdiffstats
path: root/lass/2configs/binary-cache/server.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lass/2configs/binary-cache/server.nix')
-rw-r--r--lass/2configs/binary-cache/server.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/lass/2configs/binary-cache/server.nix b/lass/2configs/binary-cache/server.nix
index 991bbeb54..d3775b5df 100644
--- a/lass/2configs/binary-cache/server.nix
+++ b/lass/2configs/binary-cache/server.nix
@@ -25,6 +25,14 @@
proxy_pass http://localhost:${toString config.services.nix-serve.port};
'';
};
+ virtualHosts."cache.krebsco.de" = {
+ forceSSL = true;
+ serverAliases = [ "cache.lassul.us" ];
+ enableACME = true;
+ locations."/".extraConfig = ''
+ proxy_pass http://localhost:${toString config.services.nix-serve.port};
+ '';
+ };
};
}