mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
filter by port in http01
This commit is contained in:
parent
886ff583b3
commit
21cebbb520
1 changed files with 3 additions and 1 deletions
|
|
@ -73,7 +73,9 @@ class ApacheHttp01(common.TLSSNI01):
|
|||
def _mod_config(self):
|
||||
moded_vhosts = set()
|
||||
for chall in self.achalls:
|
||||
vh = self.configurator.find_best_http_vhost(chall.domain, filter_defaults=False)
|
||||
vh = self.configurator.find_best_http_vhost(
|
||||
chall.domain, filter_defaults=False,
|
||||
port=str(self.configurator.config.http01_port))
|
||||
if vh and vh not in moded_vhosts:
|
||||
self._set_up_include_directive(vh)
|
||||
moded_vhosts.add(vh)
|
||||
|
|
|
|||
Loading…
Reference in a new issue