1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-19 18:17:22 +01:00

Inital commit for Rainloop to replace Roundcube

This commit is contained in:
root
2016-06-30 21:23:23 -07:00
committed by jvolkenant
parent b044dda28f
commit 74d9e21092
2 changed files with 432 additions and 122 deletions

View File

@@ -19,14 +19,14 @@
alias /var/lib/mailinabox/mozilla-autoconfig.xml;
}
# Roundcube Webmail configuration.
# Rainloop Webmail configuration.
rewrite ^/mail$ /mail/ redirect;
rewrite ^/mail/$ /mail/index.php;
location /mail/ {
index index.php;
alias /usr/local/lib/roundcubemail/;
alias /usr/local/lib/rainloop/;
}
location ~ /mail/config/.* {
location ~ /mail/data/.* {
# A ~-style location is needed to give this precedence over the next block.
return 403;
}
@@ -35,7 +35,7 @@
include fastcgi_params;
fastcgi_split_path_info ^/mail(/.*)()$;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /usr/local/lib/roundcubemail/$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME /usr/local/lib/rainloop/$fastcgi_script_name;
fastcgi_pass php-fpm;
# Outgoing mail also goes through this endpoint, so increase the maximum