3 messages in ru.sysoev.nginxRe: proxy_pass_request_headers <=> pr...
FromSent OnAttachments
Aleksandar LazicSep 14, 2006 12:55 am 
Igor SysoevSep 14, 2006 1:36 am 
Alexander LazicSep 14, 2006 1:44 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: proxy_pass_request_headers <=> proxy_pass_headerActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Sep 14, 2006 1:36:58 am
List:ru.sysoev.nginx

On Thu, 14 Sep 2006, Aleksandar Lazic wrote:

today i have seen the directive 'proxy_pass_request_headers' and have thought that is the possibility to send *all* request-headers to the backend-proxy and with proxy_pass_header only the specified one.

Have i understand the difference between this both directives right?!

"proxy_set_header Header Value" and "proxy_set_header Header ''" allow to set, override, or unset a client header line passed from nginx to backend.

"proxy_hide_header Header" hides some backend headers in addition to the hided by default "Date", "Server", "X-Pad", and "X-Accel-..." headers.

"proxy_pass_header Header" allows to override the previous hiding.

"proxy_pass_request_headers on|off" allows to pass a client request headers line to a backend. If proxy_pass_request_headers is off, then only header line set by proxy_set_header would be passed to backend.

"proxy_pass_request_body on|off" allows to pass a client request body to a backend.