fix: disable absolute redirects in Nginx to fix port redirects
All checks were successful
Production Build & Deploy / build-and-deploy (push) Successful in 26s
All checks were successful
Production Build & Deploy / build-and-deploy (push) Successful in 26s
This commit is contained in:
@@ -2,7 +2,8 @@ server {
|
|||||||
listen 8080;
|
listen 8080;
|
||||||
server_name localhost;
|
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;
|
port_in_redirect off;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
|||||||
Reference in New Issue
Block a user