# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET 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?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
