'Chocolate virtual server configuration text
:param .KeyAuthorizationAnnotatedChallenge achall: Annotated
TLS-SNI-01 challenge.
:param list ip_addrs: addresses of challenged domain
:class:`list` of type `~.obj.Addr`
:returns: virtual host configuration text
:rtype: str'

def _get_config_text(self, achall, ip_addrs):

    ips = '    '.join((str(i) for i in ip_addrs))
    document_root = os.path.join(self.configurator.config.work_dir, 'tls_sni_01_page/')
    return self.VHOST_TEMPLATE.format(vhost=ips, server_name=achall.response(achall.account_key).z_domain.decode('ascii'), ssl_options_conf_path=self.configurator.mod_ssl_conf, cert_path=self.get_cert_path(achall), key_path=self.get_key_path(achall), document_root=document_root).replace('\n', os.linesep)
