Score
0
Watch 78 Star 208 Fork 93

七觞酒 / yiicmsPHP

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
yiicms 企业站 http://demo2.yiiphp.net spread retract

http://demo2.zbeijing.com.cn

  • PHP 78.0%
  • TSQL 11.4%
  • JavaScript 6.2%
  • CSS 3.4%
  • Dockerfile 0.3%
  • Other 0.7%
Clone or download
nginx.conf 847 Bytes
Copy Edit Web IDE Raw Blame History
七觞酒 authored 2020-02-05 10:49 . fix bug
server {
listen 80;
server_name dev.yiicms.com;
index index.php;
root /var/www/yiicms/web;
error_page 404 = /404.html;
location ~ \.php
{
try_files $uri =404;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
set $path_info "";
set $real_script_name $fastcgi_script_name;
if ($fastcgi_script_name ~ "^(.+?\.php)(/.+)$") {
set $real_script_name $1;
set $path_info $2;
}
fastcgi_param SCRIPT_FILENAME
$document_root$real_script_name;
fastcgi_param SCRIPT_NAME $real_script_name;
fastcgi_param PATH_INFO $path_info;
}
location / {
if (!-f $request_filename){
rewrite ^.*$ /index.php last;
}
}
}

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/templi/yiicms.git
git@gitee.com:templi/yiicms.git
templi
yiicms
yiicms
master

Help Search