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