# 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;
        }

    }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-10
猜你喜欢
  • 2021-09-07
  • 2022-12-23
  • 2021-10-06
  • 2021-11-04
  • 2022-12-23
  • 2021-11-30
  • 2021-10-08
相关资源
相似解决方案