zoukankan      html  css  js  c++  java
  • ci tp重定向

    server
        {   
            listen 80; 
            #listen [::]:80;
            server_name tpblog.yeves.com;
            index index.html index.htm index.php default.html default.htm default.php;
            root  /www/my/tpblog/public;
    
            include other.conf;
            #error_page   404   /404.html;
            include enable-php.conf;
            location /{
                try_files $uri $uri/ /index.php?$uri&$args;
            }   
            location ~ .*.(gif|jpg|jpeg|png|bmp|swf)$
            {   
                expires      30d;
            }   
    
            location ~ .*.(js|css)?$
            {   
                expires      12h;
            }   
    
            location ~ /. 
            {   
                deny all;
            }   
    
        
        } 
    

      

  • 相关阅读:
    token
    id
    vim
    http_proxy
    brew
    认证
    go
    linux 磁盘管理
    vmware
    vmware fusion
  • 原文地址:https://www.cnblogs.com/brady-wang/p/9046401.html
Copyright © 2011-2022 走看看