1 Star 0 Fork 345

God_father / 免费医疗门诊系统OpenHIS系统1.0

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nginx.conf 1016 Bytes
一键复制 编辑 原始数据 按行查看 历史
馬利 提交于 2017-11-30 10:56 . 新增文档
server {
listen 80;
server_name dzmhis.com ;
root "E:/phpstudy/WWW/dzm_install1";
location / {
index index.html index.htm index.php;
#autoindex on;
if (!-e $request_filename){
#地址作为将参数rewrite到index.php上。tp框架接收s参数为controller和action,不少框架都利用这种方式来实现伪pathinfo模式(pathinfo为php功能,nginx并不支持)
rewrite ^/(.*)$ /index.php?s=$1 last;
break;
}
}
location ~ \.php(.*)$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
include fastcgi_params;
}
}
PHP
1
https://gitee.com/gg20150212/OpenHIS.git
git@gitee.com:gg20150212/OpenHIS.git
gg20150212
OpenHIS
免费医疗门诊系统OpenHIS系统1.0
master

搜索帮助