mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 22:08:07 -04:00
Support CentOS configuration layout in parser
This commit is contained in:
parent
db9bf90cf9
commit
103454e4a3
1 changed files with 1 additions and 2 deletions
|
|
@ -546,8 +546,7 @@ class ApacheParser(object):
|
|||
|
||||
def _find_config_root(self):
|
||||
"""Find the Apache Configuration Root file."""
|
||||
location = ["apache2.conf", "httpd.conf"]
|
||||
|
||||
location = ["apache2.conf", "httpd.conf", "conf/httpd.conf"]
|
||||
for name in location:
|
||||
if os.path.isfile(os.path.join(self.root, name)):
|
||||
return os.path.join(self.root, name)
|
||||
|
|
|
|||
Loading…
Reference in a new issue