From 5d870740b6263e6170a706b617ec002715bbcd0a Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 22 Oct 2023 21:58:54 +0200 Subject: [PATCH] hosts/web-2: return known_hosts with proper mime type --- hosts/web-2/clerie.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/web-2/clerie.nix b/hosts/web-2/clerie.nix index f145ae1..98f0d11 100644 --- a/hosts/web-2/clerie.nix +++ b/hosts/web-2/clerie.nix @@ -20,6 +20,9 @@ }; locations."= /ssh/known_hosts" = { alias = pkgs.writeText "known_hosts" (import ../../lib/ssh-known-hosts.nix); + extraConfig = '' + types { } default_type "text/plain; charset=utf-8"; + ''; }; locations."~ ^/.well-known/openpgpkey/hu/[a-z0-9]+/?$" = { extraConfig = ''