mirror of
https://github.com/nginx/nginx.git
synced 2025-06-11 12:22:41 +08:00
Merge 410236dd53
into 5b8a5c08ce
This commit is contained in:
commit
4c629618cd
@ -2288,6 +2288,16 @@ ngx_http_set_virtual_server(ngx_http_request_t *r, ngx_str_t *host)
|
||||
}
|
||||
#endif
|
||||
return NGX_OK;
|
||||
} else {
|
||||
|
||||
#if (NGX_PCRE)
|
||||
if (hc->ssl_servername_regex
|
||||
&& ngx_http_regex_exec(r, hc->ssl_servername_regex,
|
||||
host) == NGX_OK)
|
||||
{
|
||||
return NGX_OK;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user