From 67d465e18975cdc2445f274b237805d0906ad970 Mon Sep 17 00:00:00 2001 From: Marc Sauer Date: Thu, 16 Jul 2026 17:06:03 +0200 Subject: [PATCH] fix #83 --- Docker/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Docker/nginx.conf b/Docker/nginx.conf index a19877f..8429859 100644 --- a/Docker/nginx.conf +++ b/Docker/nginx.conf @@ -34,6 +34,10 @@ http { listen 8080; server_name _; + # Emit relative Location headers (e.g. /docs -> /docs/) so the internal + # :8080 listen port never leaks into redirects behind the reverse proxy. + absolute_redirect off; + root /app/public; # index.html lets the pre-generated static Scribe docs resolve: /docs -> # /docs/ -> public/docs/index.html (assets are served by try_files below).