mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 14:54:24 -04:00
update server list with added names
This commit is contained in:
parent
a6d0410f4e
commit
7215376ff9
1 changed files with 1 additions and 0 deletions
|
|
@ -874,6 +874,7 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
|
|||
self.parser.add_dir(vh_path, "ServerName", target_name)
|
||||
else:
|
||||
self.parser.add_dir(vh_path, "ServerAlias", target_name)
|
||||
self._add_servernames(vhost)
|
||||
|
||||
def _add_name_vhost_if_necessary(self, vhost):
|
||||
"""Add NameVirtualHost Directives if necessary for new vhost.
|
||||
|
|
|
|||
Loading…
Reference in a new issue