diff options
author | lassulus <git@lassul.us> | 2023-04-23 14:07:00 +0200 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-04-23 14:07:00 +0200 |
commit | d55505a076d94581bec16afb61a7e6fbedb7bd6e (patch) | |
tree | 920015c365483da93b4e44272b06136f41a43e45 /lass/2configs/binary-cache | |
parent | 9e6082c1c07eab5d7e6cb9c98e84ff871df8a4af (diff) |
l binary-cache: add missing proxy.nix
Diffstat (limited to 'lass/2configs/binary-cache')
-rw-r--r-- | lass/2configs/binary-cache/proxy.nix | 13 |
1 files changed, 13 insertions, 0 deletions
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/; + ''; + }; + }; +} |