mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 03:41:53 +02:00
update server list with added names
This commit is contained in:
@@ -874,6 +874,7 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
|
|||||||
self.parser.add_dir(vh_path, "ServerName", target_name)
|
self.parser.add_dir(vh_path, "ServerName", target_name)
|
||||||
else:
|
else:
|
||||||
self.parser.add_dir(vh_path, "ServerAlias", target_name)
|
self.parser.add_dir(vh_path, "ServerAlias", target_name)
|
||||||
|
self._add_servernames(vhost)
|
||||||
|
|
||||||
def _add_name_vhost_if_necessary(self, vhost):
|
def _add_name_vhost_if_necessary(self, vhost):
|
||||||
"""Add NameVirtualHost Directives if necessary for new vhost.
|
"""Add NameVirtualHost Directives if necessary for new vhost.
|
||||||
|
|||||||
Reference in New Issue
Block a user