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