mirror of
https://github.com/serghey-rodin/vesta.git
synced 2024-12-11 14:50:49 -08:00
16 lines
357 B
PHP
16 lines
357 B
PHP
location /webmail {
|
|
alias /var/lib/roundcube;
|
|
|
|
location ~ /(config|temp|logs) {
|
|
return 404;
|
|
}
|
|
|
|
location ~ ^/webmail/(.*\.php)$ {
|
|
alias /var/lib/roundcube/$1;
|
|
fastcgi_pass 127.0.0.1:9000;
|
|
fastcgi_index index.php;
|
|
include fastcgi_params;
|
|
fastcgi_param SCRIPT_FILENAME $request_filename;
|
|
}
|
|
}
|