mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Enabling vhost correctly for non-debian systems
This commit is contained in:
parent
8d338af39a
commit
1c231d1f39
1 changed files with 1 additions and 0 deletions
|
|
@ -1729,6 +1729,7 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
|
|||
if not self.parser.parsed_in_original(vhost.filep):
|
||||
# Add direct include to root conf
|
||||
self.parser.add_include(self.parser.loc["default"], vhost.filep)
|
||||
vhost.enabled = True
|
||||
return
|
||||
|
||||
enabled_path = ("%s/sites-enabled/%s" %
|
||||
|
|
|
|||
Loading…
Reference in a new issue