l binary-cache: add missing proxy.nix

This commit is contained in:
lassulus 2023-04-23 14:07:00 +02:00
parent 9e6082c1c0
commit d55505a076

View File

@ -0,0 +1,13 @@
{ config, lib, pkgs, ...}:
{
services.nginx = {
enable = true;
virtualHosts."cache.krebsco.de" = {
enableACME = true;
forceSSL = true;
locations."/".extraConfig = ''
proxy_pass http://cache.neoprism.r/;
'';
};
};
}