继续得到空白页面suitecrm - Nginx - Ubuntu 14.04

时间:2017-02-09 04:16:44

标签: nginx sugarcrm suitecrm

这是我的网站.conf文件:

server {

listen      [::]:80;

listen      80;

root /usr/share/nginx/html/suitecrm/;
index index.php index.html index.htm;

access_log   /var/log/nginx/suitecrmaccess.log;
error_log    /var/log/nginx/suitecrmerror.log error;

# Block access to stuff in the root
location ~* \.(pl|cgi|py|sh|lua|log|md5)$ {
    return 444;
}

# Block access to data folders
location ~ /(soap|cache|upload|xtemplate|data|examples|include|log4php|metadata|modules|diagnostic|blowfish|emailmandelivery)/.*\.(php|pl|py|jsp|asp|sh|cgi|tpl|log|md5)$ {
return 444;
}

location / {
try_files $uri $uri/ =404;
index index.html index.htm index.php;
}

location ~ \.php$ {
    try_files $uri =404;
    include /etc/nginx/fastcgi_params;
    fastcgi_pass unix:/var/run/php5-fpm.sock;
    }
}

路径是正确的,我不知道这里有什么不对,有什么想法吗?

1 个答案:

答案 0 :(得分:1)

您是否查看过suitecrm.log文件以查看其内容?

相关问题