禅道 基于原lnmp 搭建

禅道下载地址:https://www.zentao.net/download/zentaopms12.3.3-80243.html

‘’

[root@5ig6m dev]# wget https://www.zentao.net/dl/ZenTaoPMS.12.3.3.zip

 解压:

[root@5ig6m dev]# unzip ZenTaoPMS.12.3.3.zip

  配置nginx

vi bug.conf

server
{
    listen          80;
    server_name     192.168.233.138;
    index           index.html index.htm index.php;
    root            /data/wwwroot/zentaopms/www;
    access_log      /data/logs/nginx/zabbix.access.log  main;

    location /
    {
        if (!-e $request_filename){ rewrite (.*) /index.php last;}
    }

    location ~ \.php$ {
        fastcgi_pass   127.0.0.1:9000;
        include        fastcgi_params;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        fastcgi_param  PATH_INFO $fastcgi_script_name;
    }

    location ~ /\.ht
    {
        deny  all;
    }
}

配置完成重启nginx 

访问192.168.233.138即可

 

posted @ 2020-10-12 17:49  py卡卡  阅读(127)  评论(0编辑  收藏  举报