From 001acc5a523db45414ebfdca808e308f027e39b5 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 29 Nov 2019 13:43:27 +0100 Subject: ma iso: add justdoit,target-config.nix --- makefu/2configs/nginx/dl.euer.krebsco.de.nix | 17 +++++++++++++++++ makefu/2configs/nginx/share-download.nix | 17 ----------------- 2 files changed, 17 insertions(+), 17 deletions(-) create mode 100644 makefu/2configs/nginx/dl.euer.krebsco.de.nix delete mode 100644 makefu/2configs/nginx/share-download.nix (limited to 'makefu/2configs') diff --git a/makefu/2configs/nginx/dl.euer.krebsco.de.nix b/makefu/2configs/nginx/dl.euer.krebsco.de.nix new file mode 100644 index 000000000..828a66a74 --- /dev/null +++ b/makefu/2configs/nginx/dl.euer.krebsco.de.nix @@ -0,0 +1,17 @@ +{ config, lib, pkgs, ... }: + +with import ; +{ + services.nginx = { + enable = mkDefault true; + recommendedGzipSettings = true; + recommendedOptimisation = true; + virtualHosts."dl.euer.krebsco.de" = { + root = config.makefu.dl-dir; + extraConfig = "autoindex on;"; + forceSSL = true; + enableACME = true; + basicAuth = import ; + }; + }; +} diff --git a/makefu/2configs/nginx/share-download.nix b/makefu/2configs/nginx/share-download.nix deleted file mode 100644 index 828a66a74..000000000 --- a/makefu/2configs/nginx/share-download.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ config, lib, pkgs, ... }: - -with import ; -{ - services.nginx = { - enable = mkDefault true; - recommendedGzipSettings = true; - recommendedOptimisation = true; - virtualHosts."dl.euer.krebsco.de" = { - root = config.makefu.dl-dir; - extraConfig = "autoindex on;"; - forceSSL = true; - enableACME = true; - basicAuth = import ; - }; - }; -} -- cgit v1.2.3