From 537ef55b6f0e8086e62d3fb8dde08d3bac17ee44 Mon Sep 17 00:00:00 2001 From: June <june@jsts.xyz> Date: Sat, 15 Feb 2025 06:21:14 +0100 Subject: [PATCH] eh22-wiki: add missing redirect for /design Apparently this is still needed. --- .../chaosknoten/eh22-wiki/nginx/eh22.easterhegg.eu.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/chaosknoten/eh22-wiki/nginx/eh22.easterhegg.eu.conf b/resources/chaosknoten/eh22-wiki/nginx/eh22.easterhegg.eu.conf index 5b7f07f..d3ed959 100644 --- a/resources/chaosknoten/eh22-wiki/nginx/eh22.easterhegg.eu.conf +++ b/resources/chaosknoten/eh22-wiki/nginx/eh22.easterhegg.eu.conf @@ -64,6 +64,12 @@ server { fastcgi_pass unix:/var/run/php/php-fpm-dokuwiki.sock; } + location = /design { + # Disable port in redirect as NGINX would redirect to the PROXY Protocol port 8443 for locations like https://eh22.easterhegg.eu/design + port_in_redirect off; + return 302 /design/; + } + location /design/ { # Disable port in redirect as NGINX would redirect to the PROXY Protocol port 8443 for locations like https://eh22.easterhegg.eu/design port_in_redirect off;