handle:
- expire: if( path ~ "/media" ) time 864000
- expire: if( path ~ "media/ico/favicon.ico" ) time 8640000
- compress: if ( out_header["Content-type"]=="application/json" ) compress
- compress: if ( out_header["Content-type"]=="text/html" ) compress
- compress: if ( out_header["Content-Length"]>=4096 ) compress
- rewrite: if ( !is_dir() && !is_file() && path ~ "favicon.ico" ) goto "media/ico/favicon.ico"
- rewrite: if ( !is_dir() && !is_file() && path ~ "/robots.txt" ) goto "/static/robots.txt"
- rewrite: if ( !is_dir() && !is_file() && path ~ "/weblukerverif.html" ) goto "/static/weblukerverif.html"
- rewrite: if ( !is_dir() && !is_file() && path ~ "/googleca5f2e917b27f580.html" ) goto "/static/googleca5f2e917b27f580.html"
- rewrite: if ( !is_dir() && !is_file() && path ~ "/bdsitemap.txt" ) goto "/static/bdsitemap.txt"
之前是正常的,不知道从什么时候开始不起作用了...