Update doc
This commit is contained in:
parent
1d5cde1c6b
commit
eaa9229d72
|
@ -211,17 +211,16 @@ Rewriting location header field
|
||||||
nghttpx automatically rewrites location response header field if the
|
nghttpx automatically rewrites location response header field if the
|
||||||
following all conditions satisfy:
|
following all conditions satisfy:
|
||||||
|
|
||||||
* URI in location header field is not absolute URI or is not https URI.
|
* In the default mode (:option:`--http2-proxy` is not used)
|
||||||
|
* URI in location header field is an absolute URI
|
||||||
* URI in location header field includes non empty host component.
|
* URI in location header field includes non empty host component.
|
||||||
* host (without port) in URI in location header field must match the
|
* host (without port) in URI in location header field must match the
|
||||||
host appearing in :authority or host header field.
|
host appearing in ``:authority`` or ``host`` header field.
|
||||||
|
|
||||||
When rewrite happens, URI scheme and port are replaced with the ones
|
When rewrite happens, URI scheme is replaced with the ones used in
|
||||||
used in frontend, and host is replaced with which appears in
|
frontend, and authority is replaced with which appears in
|
||||||
:authority or host request header field. :authority header field has
|
``:authority``, or ``host`` request header field. ``:authority``
|
||||||
precedence. If the above conditions are not met with the host value
|
header field has precedence over ``host``.
|
||||||
in :authority header field, rewrite is retried with the value in host
|
|
||||||
header field.
|
|
||||||
|
|
||||||
Hot swapping
|
Hot swapping
|
||||||
------------
|
------------
|
||||||
|
|
Loading…
Reference in New Issue