Add nginx block that adds trailing slash to URI

This commit is contained in:
myve 2025-04-10 19:26:02 +00:00
commit 019188b66d

View file

@ -423,6 +423,11 @@ server {
root /usr/share/webapps/roundcube;
# Add trailing slash to URI
location ~ ^(.+[^/])$ {
return 301 $scheme://$host$1/;
}
# Postfixadmin
location ^~ /admin/ {
proxy_pass http://127.0.0.1:12000/;