我正在使用 Centos 和 Plesk 运行 VPS 服务器。服务器在 Nginx + php-fpm 设置上工作正常。
因此,网站服务正确,但是当用户尝试访问其 webemail(安装了 roundcube 工具)时,不起作用。
我当前用于 webmail 的 nginx conf 是:
server {
listen [my server ip...]:80;
server_name webmail.* roundcube.webmail.* horde.webmail.* atmail.webmail.*;
client_max_body_size 20m;
client_body_buffer_size 128k;
proxy_read_timeout 90;
location / {
root /usr/share/psa-roundcube;
index index.php index.html index.htm;
location ~ \.php$
{
fastcgi_pass unix:/tmp/php5-fpm.sock;
fastcgi_param SCRIPT_FILENAME $request_filename;
include /etc/nginx/fastcgi_params;
fastcgi_keep_conn on;
fastcgi_split_path_info ^(.+\.php)(.*)$;
}
}
}
有什么问题?