|
@@ -60,19 +60,17 @@ CONNECTION_REFUSED_RE = re.compile("Connection refused")
|
|
|
("nodefault.yml", "http://unknown.nginx-proxy.test/", 503, None),
|
|
|
("nodefault.yml", "https://unknown.nginx-proxy.test/", None, INTERNAL_ERR_RE),
|
|
|
|
|
|
- ("nohttp.yml", "http://https-only.nginx-proxy.test/", None, CONNECTION_REFUSED_RE),
|
|
|
+ ("nohttp.yml", "http://https-only.nginx-proxy.test/", 503, None),
|
|
|
("nohttp.yml", "https://https-only.nginx-proxy.test/", 200, None),
|
|
|
- ("nohttp.yml", "http://unknown.nginx-proxy.test/", None, CONNECTION_REFUSED_RE),
|
|
|
+ ("nohttp.yml", "http://unknown.nginx-proxy.test/", 503, None),
|
|
|
("nohttp.yml", "https://unknown.nginx-proxy.test/", 503, None),
|
|
|
|
|
|
- ("nohttp-on-app.yml", "http://https-only.nginx-proxy.test/", None, CONNECTION_REFUSED_RE),
|
|
|
+ ("nohttp-on-app.yml", "http://https-only.nginx-proxy.test/", 503, None),
|
|
|
("nohttp-on-app.yml", "https://https-only.nginx-proxy.test/", 200, None),
|
|
|
- ("nohttp-on-app.yml", "http://unknown.nginx-proxy.test/", None, CONNECTION_REFUSED_RE),
|
|
|
+ ("nohttp-on-app.yml", "http://unknown.nginx-proxy.test/", 503, None),
|
|
|
("nohttp-on-app.yml", "https://unknown.nginx-proxy.test/", 503, None),
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
("nohttp-with-missing-cert.yml", "http://https-only.nginx-proxy.test/", 503, None),
|
|
|
("nohttp-with-missing-cert.yml", "https://https-only.nginx-proxy.test/", 200, None),
|
|
|
("nohttp-with-missing-cert.yml", "http://missing-cert.nginx-proxy.test/", 200, None),
|