You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add host_override to parent.config and other sni name fixes (#12868)
* add host_override to parent.config and other sni name fixes
* add documentation for host_override in parent.config, update strategies.yaml docs
* add test using pristine_host_hdr setting
---------
Co-authored-by: Brian Olsen <bolsen149@comcast.com>
Copy file name to clipboardExpand all lines: doc/admin-guide/files/parent.config.en.rst
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -324,6 +324,14 @@ The following list shows the possible actions and their allowed values.
324
324
325
325
- ``false`` - The default. Do not ignore the host status.
326
326
327
+
.. _parent-config-format-host_override:
328
+
329
+
``host_override``
330
+
One of the following values:
331
+
332
+
- ``true`` - Sets the host header of the request using the selected parent, including the SNI name to be used for any upstream TLS connection. Useful when a parent is another CDN that requires a correct SNI name.
333
+
- ``false`` - The default. Does not change the host header.
Copy file name to clipboardExpand all lines: doc/admin-guide/files/strategies.yaml.en.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -286,7 +286,7 @@ Each **strategy** in the list may using the following parameters:
286
286
(**self** should only be necessary when the local hostname can only be translated to an IP address
287
287
with a DNS lookup.)
288
288
289
-
- **host_override**: A boolean value that will set the host header to the selected parent rather than the original host. **true** sets host header to selected parent. **false** (default) leaves the host header untouched.
289
+
- **host_override**: A boolean value that will set the host header to the selected parent rather than the original host, including the SNI name for any attempted upstream TLS connection. **true** sets host header to selected parent. **false** (default) leaves the host header untouched.
0 commit comments