mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Fix for case sensitivity when looking for vhosts (#4193)
This commit is contained in:
parent
52ce335ff0
commit
28cbd6e7d3
1 changed files with 1 additions and 1 deletions
|
|
@ -580,7 +580,7 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
|
|||
("/files%s//*[label()=~regexp('%s')]" %
|
||||
(vhost_path, parser.case_i("VirtualHost"))))
|
||||
paths = [path for path in paths if
|
||||
os.path.basename(path) == "VirtualHost"]
|
||||
os.path.basename(path.lower()) == "virtualhost"]
|
||||
for path in paths:
|
||||
new_vhost = self._create_vhost(path)
|
||||
if not new_vhost:
|
||||
|
|
|
|||
Loading…
Reference in a new issue