mirror of
https://git.myvelabs.com/docker/myvemail.git
synced 2025-12-17 21:26:19 +00:00
Fixed nginx block that adds trailing slash to URI
This commit is contained in:
parent
019188b66d
commit
3a5bb2e22a
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue