File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,7 @@ End-to-end headers are forwarded by the proxy, hop-by-hop headers are ignored.
7070
7171==== Request authority
7272
73- As a transparent proxy, the request authority ({@code Host} header for HTTP/1.1, {@code :authority} pseudo header
74- for HTTP/2) is preserved.
73+ As a transparent proxy, the request authority (`Host` header for HTTP/1.1, `:authority` pseudo header for HTTP/2) is preserved.
7574
7675You can override the request authority
7776
@@ -80,8 +79,7 @@ You can override the request authority
8079{@link examples.HttpProxyExamples#overrideAuthority}
8180----
8281
83- When the request authority is overridden, the {@code x-forwarded-host} header is set on the request to the origin server
84- with the original authority value.
82+ When the request authority is overridden, the `x-forwarded-host` header is set on the request to the origin server with the original authority value.
8583
8684WARNING: changing the request authority can have undesirable side effects and can affect the proxied web server that might
8785rely on the original request authority to handle cookies, URL redirects and such.
You can’t perform that action at this time.
0 commit comments