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;
            }
     
  • 相关阅读:
    OkHttp的基本使用方法
    C#中Dictionary小记
    SQL Server表的数据量大小查询
    基于.NET平台常用的框架整理
    JQuery中ajax的相关方法总结
    JQuery中的工具函数总结
    Asp.net MVC 中Controller返回值类型ActionResult
    Plupload文件上传组件使用API
    HTTP 方法:GET 对比 POST
    C#使用简单邮件传输协议(SMTP)发送邮件
  • 原文地址:https://www.cnblogs.com/herry52/p/5644427.html
Copyright © 2011-2022 走看看