zoukankan      html  css  js  c++  java
  • 其他子配置文件:local.conf

    server
            {
                    listen 80;
                    server_name aa.bb.com;
                    index index.html index.htm index.php default.html default.htm default.php;
                    root  /data/wwwroot;
     
                    location / {
                        if (!-e $request_filename) {
                            rewrite ^(.*)$ /index.php?s=$1 last;
                            break;
                        }    
                        autoindex on;
     
                    }
     
     
                     error_page   404 500 502 503 504  /404.html;
                    location = /404.html {
     
                    }
     
     
     
                    location ~ .php$ {
                        fastcgi_intercept_errors on;
                        fastcgi_pass   test;
                        fastcgi_index  index.php;
                        fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
                        include        fastcgi_params;
     
     
                    }
     
                    access_log /data/wwwlogs/local/access.log;
                    error_log  /data/wwwlogs/local/error.log;
            }
     
  • 相关阅读:
    《程序员成长的烦恼》
    我们一起读《暗时间》
    CSS选择器分类总结
    CSharp如何自定义鼠标样式
    Android开发消除横向排列的多个Button之间的空隙
    JS代码指导原则
    Android蓝牙联机Demo解析
    排序算法之堆排序(Heapsort)解析
    排序算法之归并排序(Mergesort)解析
    经典串匹配算法(KMP)解析
  • 原文地址:https://www.cnblogs.com/herry52/p/5644427.html
Copyright © 2011-2022 走看看