Function static_web_server::virtual_hosts::get_real_root
source · pub fn get_real_root<'a>(
headers: &HeaderMap,
vhosts_opts: Option<&'a [VirtualHosts]>
) -> Option<&'a PathBuf>Expand description
It returns different root directory if the “Host” header matches a virtual hostname.