diff --git a/certbot-nginx/certbot_nginx/configurator.py b/certbot-nginx/certbot_nginx/configurator.py index 89e67dd04..46d341049 100644 --- a/certbot-nginx/certbot_nginx/configurator.py +++ b/certbot-nginx/certbot_nginx/configurator.py @@ -394,6 +394,7 @@ class NginxConfigurator(common.Installer): vhost = self._select_best_name_match(matches) if not vhost: if create_if_no_match: + import ipdb; ipdb.set_trace() vhost = self._vhost_from_duplicated_default(target_name) else: # No matches. Raise a misconfiguration error. diff --git a/certbot-nginx/certbot_nginx/tests/http_01_test.py b/certbot-nginx/certbot_nginx/tests/http_01_test.py index 9da57d896..0f764e92e 100644 --- a/certbot-nginx/certbot_nginx/tests/http_01_test.py +++ b/certbot-nginx/certbot_nginx/tests/http_01_test.py @@ -30,7 +30,7 @@ class HttpPerformTest(util.NginxTest): token=b"\xba\xa9\xda?