From ec42fbe52009c5aeca21fde77728963ada7cc760 Mon Sep 17 00:00:00 2001 From: DanielS Date: Tue, 7 Jul 2026 00:55:00 +0200 Subject: [PATCH] fix: disable absolute redirects in Nginx to fix port redirects --- default.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/default.conf b/default.conf index 6ceb3f6..74145cc 100644 --- a/default.conf +++ b/default.conf @@ -2,7 +2,8 @@ server { listen 8080; server_name localhost; - # Verhindert, dass Nginx bei 301-Redirects (z.B. ohne Slash) den internen Port 8080 anhängt + # Erzwingt relative Redirects (z.B. Location: /templates/ statt http://...:8080/templates/) + absolute_redirect off; port_in_redirect off; location / {