location ~* .*\.(gif|jpg|jpeg|bmp|png|tiff|tif|ico|wmf|js)$ {
       #         slowfs_cache    fastcache;
       #         slowfs_cache_key        $uri;
       #         slowfs_cache_valid      1d;
       #         add_header X-Cache      '$slowfs_cache_status from $host';
                expires 1h;
        }

        location / {
        if ($uri ~ [A-Z]) {
        rewrite_by_lua 'return ngx.redirect(string.lower(ngx.var.uri),ngx.HTTP_MOVED_PERMANENTLY)';}
                root $SROOT;
                index   index.html index.php index.htm;
        }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2021-07-07
猜你喜欢
  • 2021-08-17
  • 2021-08-23
  • 2021-08-06
  • 2022-12-23
  • 2021-05-16
  • 2022-12-23
  • 2022-01-16
相关资源
相似解决方案