From b4c33add5e133818c0989320217a192cbca4bbd0 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Fri, 18 Feb 2022 12:12:04 +0100 Subject: [PATCH] fix maxwell.ydns.eu/ip mimetype --- configuration.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index b3962ef..bcc3d0e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -338,7 +338,10 @@ extraConfig = disableLog + enableSTS; # Returns IP address - locations."/ip".extraConfig = "return 200 $remote_addr;"; + locations."/ip".extraConfig = '' + default_type text/plain; + return 200 $remote_addr; + ''; # Asjon code coverage reports locations."/asjon/report/" = {