From 3a5bb2e22a7c68db814e7d8f7291cb8f9f86846c Mon Sep 17 00:00:00 2001 From: myve Date: Thu, 10 Apr 2025 19:29:47 +0000 Subject: [PATCH] Fixed nginx block that adds trailing slash to URI --- build/run/installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/run/installer.sh b/build/run/installer.sh index 8a613fd..aeefb15 100755 --- a/build/run/installer.sh +++ b/build/run/installer.sh @@ -424,8 +424,8 @@ server { root /usr/share/webapps/roundcube; # Add trailing slash to URI - location ~ ^(.+[^/])$ { - return 301 $scheme://$host$1/; + location /admin { + return 302 $scheme://$host/admin/; } # Postfixadmin