mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 08:42:57 -04:00
Merge pull request #1605 from letsencrypt/vhosts-per-file
Improve vhosts per file error message
This commit is contained in:
commit
484ef90d67
1 changed files with 2 additions and 1 deletions
|
|
@ -586,7 +586,8 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
|
|||
(ssl_fp, parser.case_i("VirtualHost")))
|
||||
if len(vh_p) != 1:
|
||||
logger.error("Error: should only be one vhost in %s", avail_fp)
|
||||
raise errors.PluginError("Only one vhost per file is allowed")
|
||||
raise errors.PluginError("Currently, we only support "
|
||||
"configurations with one vhost per file")
|
||||
else:
|
||||
# This simplifies the process
|
||||
vh_p = vh_p[0]
|
||||
|
|
|
|||
Loading…
Reference in a new issue