zoukankan      html  css  js  c++  java
  • php CI框架nginx 配置

    # ci 
        server {
            listen       80;
            server_name  my.clb.com;
            root /var/website/ci;
            index        index.php index.html index.htm;

            access_log  logs/my.clb.com_access.log  main;

            location / {
               index index.php
               root /var/website/ci;
               if ($request_filename !~ (js|css|images|robots.txt|index.php) ) {
                    rewrite ^(.*)$ /index.php/$1 last;
                    break;
               }
            }

            location ~ /index.php/ {
                fastcgi_pass   127.0.0.1:9000;
                fastcgi_index  index.php;
                include        fastcgi.conf;
            }

        }

  • 相关阅读:
    Solution -「LOCAL」客星璀璨之夜
    Solution -「LOCAL」割海成路之日
    aaa
    wendang
    OSS架构
    MySQL事务
    1292分数和
    printf使用方法 (c++)
    1024与圆相关的计算
    Js 之echarts世界地图与汉化
  • 原文地址:https://www.cnblogs.com/ggjucheng/p/3348543.html
Copyright © 2011-2022 走看看