eh22-wiki: add missing redirect for /design

Apparently this is still needed.
This commit is contained in:
June 2025-02-15 06:21:14 +01:00
parent ac7e8bb6f2
commit 537ef55b6f
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0

View file

@ -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;