mirror of
https://github.com/certbot/certbot.git
synced 2026-07-30 18:04:31 +02:00
Merge pull request #4814 from certbot/improve-apache-error-message
Correct message about vhost ambiguity
This commit is contained in:
@@ -85,10 +85,11 @@ def _vhost_menu(domain, vhosts):
|
|||||||
"vhosts are not yet supported)".format(domain, os.linesep),
|
"vhosts are not yet supported)".format(domain, os.linesep),
|
||||||
choices, force_interactive=True)
|
choices, force_interactive=True)
|
||||||
except errors.MissingCommandlineFlag:
|
except errors.MissingCommandlineFlag:
|
||||||
msg = ("Encountered vhost ambiguity but unable to ask for user guidance in "
|
msg = (
|
||||||
"non-interactive mode. Currently Certbot needs each vhost to be "
|
"Encountered vhost ambiguity but unable to ask for user "
|
||||||
"in its own conf file, and may need vhosts to be explicitly "
|
"guidance in non-interactive mode. Certbot may need "
|
||||||
"labelled with ServerName or ServerAlias directives.")
|
"vhosts to be explicitly labelled with ServerName or "
|
||||||
|
"ServerAlias directives.")
|
||||||
logger.warning(msg)
|
logger.warning(msg)
|
||||||
raise errors.MissingCommandlineFlag(msg)
|
raise errors.MissingCommandlineFlag(msg)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user