linde: handle errors with custom response
Alan Pearce alan@alanpearce.eu
Mon, 30 Dec 2024 18:28:18 +0100
1 files changed, 3 insertions(+), 0 deletions(-)
jump to
M system/linde.nix → system/linde.nix
@@ -795,6 +795,9 @@ extraConfig = '' encode zstd gzip ${security-headers {}} reverse_proxy ${srv.address}:${toString srv.port} + handle_errors { + respond "{err.status_code} {err.status_text}" + } ''; }; };