proxy_hide_header

proxy_hide_header指令用于设置Nginx服务器在发送HTTP响应时,隐藏一些头域信息。其语法结构为:

proxy_hide_header field;

其中,field为需要隐藏的头域。

该指令可以在http块、server块或者location块中进行配置。

Last updated