header_string 好像插入的是最前面 都在html外了
怎么能插入<head></head>之间
header_string 好像插入的是最前面 都在html外了
怎么能插入<head></head>之间
|
serverMay 26, 2015
1
记得伟大的Apache是可以,nginx没耍过。
|
|
101May 26, 2015
2
可以,不过默认的功能不强,有第三方模块,搜索一下就能搞定
|
|
fisingMay 26, 2015
4
当然可以。
|
|
101May 26, 2015
5
可以啊 关键字 subs_filter
|
|
GG668v26Fd55CP5WMay 26, 2015 via iPhone
6
nginx有替代模块
|
|
rmingMay 26, 2015
7
|
|
phithonMay 26, 2015
8
sub_filter </head> "<script>xxx</script></head>"
|
|
phithonMay 26, 2015
9
不过要先把gzip关掉
proxy_set_header Accept-Encoding ""; sub_filter </head> "<script>xxx</script></head>" |
|
dallasluMay 26, 2015
10
可以 +1
|
|
sky170Aug 19, 2015 via iPhone
11
可以,但是有些会乱
|