From ccee181f329e42658dc21bdc7426dccef7996135 Mon Sep 17 00:00:00 2001 From: Alex Schneider Date: Fri, 13 Nov 2020 14:14:06 +0100 Subject: [PATCH 1/2] Add docu for backend.hostname --- docs/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/README.md b/docs/README.md index 12211f07f..357b393c7 100644 --- a/docs/README.md +++ b/docs/README.md @@ -294,6 +294,7 @@ A `backend` defines the connection to a local/remote backend service. Backends c | *label*|| | `origin`| URL to connect to for backend requests
⚠ must start with `http://...` | |`base_path`| | +|`hostname`| value of the Host HTTP header field for the `origin` request. `hostname` is used to verify the hostname on the returned certificates, too. | |`path`|changeable part of upstream URL| |`timeout`| | | `request_headers` | header map to define additional or override header for the `origin` request | From e0962f3d2e053fb11390d870ebb4dbd70dd21c0c Mon Sep 17 00:00:00 2001 From: Marcel Ludwig Date: Mon, 16 Nov 2020 08:51:26 +0100 Subject: [PATCH 2/2] Documentation: more context for backend.hostname --- docs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/README.md b/docs/README.md index 357b393c7..c54d6d1ed 100644 --- a/docs/README.md +++ b/docs/README.md @@ -294,7 +294,7 @@ A `backend` defines the connection to a local/remote backend service. Backends c | *label*|| | `origin`| URL to connect to for backend requests
⚠ must start with `http://...` | |`base_path`| | -|`hostname`| value of the Host HTTP header field for the `origin` request. `hostname` is used to verify the hostname on the returned certificates, too. | +|`hostname`| value of the HTTP host header field for the `origin` request. Since `hostname` replaces the request host the value will also be used for a server identity check during a TLS handshake with the origin. | |`path`|changeable part of upstream URL| |`timeout`| | | `request_headers` | header map to define additional or override header for the `origin` request |