mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Explain what is happening when the user cancels vhost selection
This commit is contained in:
parent
236e3e611a
commit
f6069c2297
2 changed files with 5 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ from certbot.plugins import common
|
|||
|
||||
class Addr(common.Addr):
|
||||
"""Represents an Apache address."""
|
||||
|
||||
def __eq__(self, other):
|
||||
"""This is defined as equalivalent within Apache.
|
||||
|
||||
|
|
@ -18,6 +19,9 @@ class Addr(common.Addr):
|
|||
self.is_wildcard() and other.is_wildcard()))
|
||||
return False
|
||||
|
||||
def __repr__(self):
|
||||
return "certbot_apache.obj.Addr(" + repr(self.tup) + ")"
|
||||
|
||||
def __ne__(self, other):
|
||||
return not self.__eq__(other)
|
||||
|
||||
|
|
|
|||
|
|
@ -129,6 +129,7 @@ class ApacheTlsSni01(common.TLSSNI01):
|
|||
# because it's a new vhost that's not configured yet (GH #677),
|
||||
# or perhaps because there were multiple <VirtualHost> sections
|
||||
# in the config file (GH #1042). See also GH #2600.
|
||||
logger.warn("Attempting to fall back to default vhost %s...", default_addr)
|
||||
addrs.add(default_addr)
|
||||
return addrs
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue