From c83f1faaa7552f894774ce85a3887125141defb4 Mon Sep 17 00:00:00 2001 From: June Date: Mon, 22 Jan 2024 23:32:00 +0100 Subject: [PATCH] Use custom 404 page for hamburg.ccc.de --- config/hosts/public-web-static/virtualHosts/hamburg.ccc.de.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/hosts/public-web-static/virtualHosts/hamburg.ccc.de.nix b/config/hosts/public-web-static/virtualHosts/hamburg.ccc.de.nix index a318fec..0f43a9d 100644 --- a/config/hosts/public-web-static/virtualHosts/hamburg.ccc.de.nix +++ b/config/hosts/public-web-static/virtualHosts/hamburg.ccc.de.nix @@ -72,6 +72,8 @@ # Then tell the realip_module to get the addreses from the proxy protocol # header. real_ip_header proxy_protocol; + + error_page 404 /404.html; ''; }; };