From d55505a076d94581bec16afb61a7e6fbedb7bd6e Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 23 Apr 2023 14:07:00 +0200 Subject: l binary-cache: add missing proxy.nix --- lass/2configs/binary-cache/proxy.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lass/2configs/binary-cache/proxy.nix (limited to 'lass') diff --git a/lass/2configs/binary-cache/proxy.nix b/lass/2configs/binary-cache/proxy.nix new file mode 100644 index 000000000..a6ecb044d --- /dev/null +++ b/lass/2configs/binary-cache/proxy.nix @@ -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/; + ''; + }; + }; +} -- cgit v1.2.3