Move the webmail to /webmail, fixes #82
This commit is contained in:
@@ -48,6 +48,16 @@ http {
|
||||
# Actual logic
|
||||
|
||||
location / {
|
||||
if ($webmail != none) {
|
||||
return 301 $scheme://$host/webmail/;
|
||||
}
|
||||
|
||||
if ($webmail = none) {
|
||||
return 403;
|
||||
}
|
||||
}
|
||||
|
||||
location /webmail {
|
||||
if ($webmail != none) {
|
||||
proxy_pass http://webmail;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user