最近把公司内网的禅道迁移到外网,由于不想装apache,所以没有采用一键安装的方式,采用了nginx+fastcgi的方式安装,数据还原完成后不知道为何找不到备注了,并且访问地址必须为:地址+zendaopms/www才行,看上去非常别扭,网上查大部分都是通过nginx反向代理apache的地址,或者是直接根目录访问,因为后面还有别的业务要用,所以想配置成/zentao这种访问方式,查了半天,最终在官方的问答里找到了配置方式,nginx采用如下配置:
location ~ ^/zentao/.+\.php$ {
root /opt/zentao/www;
fastcgi_index index.php;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
if ( $fastcgi_script_name ~ ^/zentao/(.*\.php) ) {
set $cginame $1;
}
fastcgi_param SCRIPT_FILENAME $document_root/$cginame;
include fastcgi_params;
}
location ~ ^/zentao($|/.*) {
alias /opt/zentao/www/$1;
index index.php index.html index.htm;
}
最初也猜想到需要用alias切换到实际目录,但是少了一些配置,一直提示not found。只要是采用fastcgi的方式应该都可以用这种方式配置,因此记录下来备忘,在此也非常感谢原作者。
cost of generic cytotec without a prescription For heavy high doses lasting more than 2 months and containing three or more drugs, take 150 mg 3 tablets for 3 days, followed by 100 mg for 15 days and 50 mg for 20 days
where to buy priligy Additionally, baicalein also prolonged the t 1 2 4
priligy dapoxetine review Keep in mind that side effects are very closely related to the dosage and they can be reduced or completely avoided by having proper post cycle and in cycle therapies with various supplements and medicines, as well as to keep a healthy lifestyle, not have pre use health conditions and others