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;
            }
     
  • 相关阅读:
    C语言II博客作业01
    学期总结
    C语言|博客作业01
    C语言|博客作业02
    C语言|博客作业08
    C语言|博客作业07
    C语言|博客作业06
    C语言|博客作业05
    C语言|博客作业04
    c语言||博客作业04
  • 原文地址:https://www.cnblogs.com/herry52/p/5644427.html
Copyright © 2011-2022 走看看