From 2601c024fe52dee5106c71bf0b26b47c11f9edf8 Mon Sep 17 00:00:00 2001 From: paspo Date: Thu, 5 Sep 2024 19:19:00 +0000 Subject: [PATCH] fix 404 (#199) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix #197 tutto quanto non รจ /en o /it viene considerato italiano Reviewed-on: https://git.libreschool.org/BgLUG/bglug.it/pulls/199 Co-authored-by: paspo Co-committed-by: paspo --- docker/rootfs/etc/nginx/http.d/default.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/rootfs/etc/nginx/http.d/default.conf b/docker/rootfs/etc/nginx/http.d/default.conf index 08b2f97..b772039 100644 --- a/docker/rootfs/etc/nginx/http.d/default.conf +++ b/docker/rootfs/etc/nginx/http.d/default.conf @@ -20,6 +20,10 @@ server { error_page 404 /en/404.html; } + location ~ .* { + error_page 404 /it/404.html; + } + } gzip on;