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