1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-05 15:57:23 +01:00

update to Roundcube 1.0.1

This commit is contained in:
Joshua Tauberer
2014-07-08 00:37:53 +00:00
parent 7339bf080a
commit 3bab63d4ce
2 changed files with 75 additions and 58 deletions

View File

@@ -31,13 +31,17 @@ server {
rewrite ^/mail/$ /mail/index.php;
location /mail/ {
index index.php;
alias /var/lib/roundcube/;
alias /usr/local/lib/roundcubemail/;
}
location ~ /mail/config/.* {
# A ~-style location is needed to give this precedence over the next block.
return 403;
}
location ~ /mail/.*\.php {
include fastcgi_params;
fastcgi_split_path_info ^/mail(/.*)()$;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /var/lib/roundcube/$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME /usr/local/lib/roundcubemail/$fastcgi_script_name;
fastcgi_pass unix:/tmp/php-fastcgi.www-data.sock;
client_max_body_size 20M;
}