summaryrefslogtreecommitdiffstats
path: root/lass/2configs/binary-cache/proxy.nix
blob: a6ecb044d7889e223386b31570bcdb69a68a0739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, lib, pkgs, ...}:
{
  services.nginx = {
    enable = true;
    virtualHosts."cache.krebsco.de" = {
      enableACME = true;
      forceSSL = true;
      locations."/".extraConfig = ''
        proxy_pass http://cache.neoprism.r/;
      '';
    };
  };
}