From a2cc3a71887ee7f202edb2a4cafde7a02e1cb1da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu> Date: Thu, 16 Mar 2017 18:38:46 +0100 Subject: [PATCH] fix https detection (broken if http2 is enabled), refs #20845 --- tests/test_nginx_vhosts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_nginx_vhosts.py b/tests/test_nginx_vhosts.py index 57176e9a..cc9aef56 100755 --- a/tests/test_nginx_vhosts.py +++ b/tests/test_nginx_vhosts.py @@ -62,7 +62,7 @@ for name in os.listdir(nginx_dir): errors += 1 continue domains = matching.groups()[0].strip().split(' ') - https = re.search(r'listen +\w* +ssl;', vhost) is not None \ + https = re.search(r'listen +\w* +ssl', vhost) is not None \ or re.search(r'ssl +on;', vhost) is not None for domain in domains: if domain == 'localhost': -- GitLab