作用域是http、server、location。加如下这行

server_tokens  off;


tengine可以隐藏的更彻底一些加下面这两行:

server_tag off;

server_info off;