Fixed nginx block that adds trailing slash to URI

This commit is contained in:
myve 2025-04-10 19:29:47 +00:00
commit 3a5bb2e22a

View file

@ -424,8 +424,8 @@ server {
root /usr/share/webapps/roundcube; root /usr/share/webapps/roundcube;
# Add trailing slash to URI # Add trailing slash to URI
location ~ ^(.+[^/])$ { location /admin {
return 301 $scheme://$host$1/; return 302 $scheme://$host/admin/;
} }
# Postfixadmin # Postfixadmin