我爱编程

禅道安装

2018-04-08  本文已影响0人  袁先生的笔记

环境

系统:CentOS 6.9
软件:ZenTaoPMS.9.8.3.zip

准备

禅道安装

禅道配置

# vim /etc/nginx/conf.d/zentao.domain.com.conf
server {
        listen 80;
        server_name zentao.domain.com;

        root /data/zentaopms/www;
        index index.php index.html index.htm;

        location / {
                try_files $uri $uri/ /index.php?$args;
        }

        location ~ \.php$ {
                try_files $uri = 404;

                fastcgi_pass 127.0.0.1:9000;
                fastcgi_index index.php;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_param HTTP_PROXY "";
                include fastcgi_params;
        }
}

# systemctl reload nginx
上一篇下一篇

猜你喜欢

热点阅读