mirror of
https://git.myvelabs.com/docker/myvemail.git
synced 2025-12-17 21:36:19 +00:00
Add nginx block that adds trailing slash to URI
This commit is contained in:
parent
173b450d68
commit
019188b66d
1 changed files with 5 additions and 0 deletions
|
|
@ -423,6 +423,11 @@ server {
|
||||||
|
|
||||||
root /usr/share/webapps/roundcube;
|
root /usr/share/webapps/roundcube;
|
||||||
|
|
||||||
|
# Add trailing slash to URI
|
||||||
|
location ~ ^(.+[^/])$ {
|
||||||
|
return 301 $scheme://$host$1/;
|
||||||
|
}
|
||||||
|
|
||||||
# Postfixadmin
|
# Postfixadmin
|
||||||
location ^~ /admin/ {
|
location ^~ /admin/ {
|
||||||
proxy_pass http://127.0.0.1:12000/;
|
proxy_pass http://127.0.0.1:12000/;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue