From 05a5e085d8f37d19a6ddf00020ed32a7bfb2f322 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Mon, 11 Mar 2024 12:04:31 +0100 Subject: [PATCH] =?UTF-8?q?ftp:=20fix=20content=20type=20for=20komplefpr?= =?UTF-8?q?=C3=BCfungen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/ftp.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/ftp.nix b/modules/ftp.nix index 33923ed..96d432b 100644 --- a/modules/ftp.nix +++ b/modules/ftp.nix @@ -18,6 +18,9 @@ in allow 141.76.0.0/16; deny all; ''; + locations."~ /komplexpruef".extraConfig = '' + default_type text/plain; + ''; locations."=/403.html" = { root = pkgs.writeTextDir "403.html" ''