From 53c51a3ccadda31e60647a195658641a7e183def Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Mon, 30 Mar 2026 16:11:13 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(nginx)=20add=20page=20reconciliati?= =?UTF-8?q?on=20on=20nginx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The nginx conf was lacking the page reconciliation. It is necessary to have it in place to avoid 404 errors when refreshing the page or accessing a page directly. It is a known issue when using the Next Router in "export" mode, as it relies on client-side routing. --- CHANGELOG.md | 1 + src/frontend/apps/impress/conf/default.conf | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d13487ff..a6caa814 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ and this project adheres to ### Fixed - 🐛(frontend) fix tree pagination #2145 +- 🐛(nginx) add page reconciliation on nginx #2154 ## [v4.8.4] - 2026-03-25 diff --git a/src/frontend/apps/impress/conf/default.conf b/src/frontend/apps/impress/conf/default.conf index ac978124..94be0686 100644 --- a/src/frontend/apps/impress/conf/default.conf +++ b/src/frontend/apps/impress/conf/default.conf @@ -17,6 +17,12 @@ server { add_header X-Frame-Options DENY always; } + location ~ "^/user-reconciliations/(active|inactive)/[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/?$" { + try_files $uri /user-reconciliations/$1/[id]/index.html; + + add_header X-Frame-Options DENY always; + } + error_page 404 /404.html; location = /404.html { internal;