mirror of
https://github.com/myvesta/vesta.git
synced 2024-11-23 05:50:37 -08:00
19 lines
496 B
PHP
19 lines
496 B
PHP
location /webmail {
|
|
alias /usr/share/roundcubemail;
|
|
|
|
location ~ /(config|temp|logs) {
|
|
return 404;
|
|
}
|
|
|
|
location ~ ^/webmail/(.*\.php)$ {
|
|
alias /usr/share/roundcubemail/$1;
|
|
fastcgi_pass 127.0.0.1:9000;
|
|
fastcgi_index index.php;
|
|
include fastcgi_params;
|
|
fastcgi_param SCRIPT_FILENAME $request_filename;
|
|
}
|
|
location ~* ^/webmail/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
|
|
alias /usr/share/roundcubemail/$1;
|
|
}
|
|
}
|