stockholm/lass/2configs/binary-cache/proxy.nix
2023-04-23 14:07:00 +02:00

14 lines
263 B
Nix

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