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;
            }
     
  • 相关阅读:
    java循环遍历枚举类型,Enum根据文本获取Key
    java使用poi解析或处理excel的时候,如何防止数字变成科学计数法的形式
    jdk8的特性stream().map()
    jrebel2019注册码
    Vue刷新后页面后报404的问题
    JS中对List、Map的各种遍历方式
    防止vue重复点击
    elementUI 按钮美化
    Vue路由<router-link>属性的使用
    Maven 打包com.mongodb does not exist
  • 原文地址:https://www.cnblogs.com/herry52/p/5644427.html
Copyright © 2011-2022 走看看