After install multisite and wpmu provision module into our

Hello,

After install multisite and wpmu provision module into our WHMCS we faded with issue, when we create a new site we must manually map a new website into wordpress.conf like
map $http_host $blogid {
default 0;
wordpress.hostpro.ua 1;
handwares.biz 6;
}
Maybe you have some docs, or script to create this map automatically?
Thanks