diff --git a/src/shrpx_https_upstream.cc b/src/shrpx_https_upstream.cc index b2b6120d..5d373dd3 100644 --- a/src/shrpx_https_upstream.cc +++ b/src/shrpx_https_upstream.cc @@ -383,6 +383,7 @@ int htp_hdrs_completecb(http_parser *htp) { if (host) { req.authority = host->value; + req.no_authority = false; } if (handler->get_ssl()) {