[alibaba/tengine]关于more_clear_headers的支持

2024-07-10 220 views
8

不知道Tengine什么时候才能支持more_clear_headers。不知道大伙知不知道,Tengine就完全移除Server有什么解决方案吗?

回答

0
Syntax: server_tag off | customized_tag 
Default: none
Context: http, server, location
Specify the customized 'Server' header in the HTTP responses, for example, 'Apache/2.2.22', 'IIS 6.0', 'Lighttpd', etc. 
You could also suppress the 'Server' header by setting it to 'off'.

http://tengine.taobao.org/document/core.html 里搜索server_tag指令

6

这个指定很早就用了,可其实还是没法完全隐藏,就显示nginx