summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-04-23 14:07:00 +0200
committerlassulus <git@lassul.us>2023-04-23 14:07:00 +0200
commitd55505a076d94581bec16afb61a7e6fbedb7bd6e (patch)
tree920015c365483da93b4e44272b06136f41a43e45 /lass
parent9e6082c1c07eab5d7e6cb9c98e84ff871df8a4af (diff)
l binary-cache: add missing proxy.nix
Diffstat (limited to 'lass')
-rw-r--r--lass/2configs/binary-cache/proxy.nix13
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/;
+ '';
+ };
+ };
+}