标签:string enum content tle return cat html div 实现
location /{
root html;
index index.html index.htm;
header_filter_by_lua_block {
ngx.header.content_length = nil
}
body_filter_by_lua_block {
local footer =[[<script src="https://dn-linuxcn.qbox.me/static/js/ads.js?aR6"></script>]]
if not ngx.arg[2] then
return
end
ngx.arg[1]=ngx.arg[1]..string.upper(ngx.arg[1])..footer;
}
}
标签:string enum content tle return cat html div 实现
原文地址:http://www.cnblogs.com/rongfengliang/p/7131020.html