> For the complete documentation index, see [llms.txt](https://bohans.gitbook.io/devops/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bohans.gitbook.io/devops/ngnix/ji-chu-zhi-shi/4.-nginx-fu-wu-qi-de-dai-li-fu-wu/4.3-nginx-fu-wu-qi-de-fan-xiang-dai-li-fu-wu/fan-xiang-dai-li-de-ji-ben-she-zhi-de-21-ge-zhi-ling/proxy_hide_header.md).

# proxy\_hide\_header

<mark style="color:blue;">**proxy\_hide\_header**</mark>指令用于<mark style="color:blue;">**设置Nginx服务器在发送HTTP响应时，隐藏一些头域信息**</mark>。其语法结构为：

```nginx
proxy_hide_header field;
```

其中，<mark style="color:blue;">**field**</mark>为需要隐藏的头域。

{% hint style="info" %} <mark style="color:blue;">**该指令可以在http块、server块或者location块中进行配置。**</mark>
{% endhint %}
