|
@@ -15,14 +15,14 @@ def test_redirect_acme_challenge_location_disabled(docker_compose, nginxproxy, a
|
|
)
|
|
)
|
|
assert r.status_code == 301
|
|
assert r.status_code == 301
|
|
|
|
|
|
-def test_noderirect_acme_challenge_location_enabled(docker_compose, nginxproxy, acme_challenge_path):
|
|
|
|
|
|
+def test_noredirect_acme_challenge_location_enabled(docker_compose, nginxproxy, acme_challenge_path):
|
|
r = nginxproxy.get(
|
|
r = nginxproxy.get(
|
|
f"http://web3.nginx-proxy.tld/{acme_challenge_path}",
|
|
f"http://web3.nginx-proxy.tld/{acme_challenge_path}",
|
|
allow_redirects=False
|
|
allow_redirects=False
|
|
)
|
|
)
|
|
assert r.status_code == 200
|
|
assert r.status_code == 200
|
|
|
|
|
|
-def test_noderirect_acme_challenge_location_disabled(docker_compose, nginxproxy, acme_challenge_path):
|
|
|
|
|
|
+def test_noredirect_acme_challenge_location_disabled(docker_compose, nginxproxy, acme_challenge_path):
|
|
r = nginxproxy.get(
|
|
r = nginxproxy.get(
|
|
f"http://web4.nginx-proxy.tld/{acme_challenge_path}",
|
|
f"http://web4.nginx-proxy.tld/{acme_challenge_path}",
|
|
allow_redirects=False
|
|
allow_redirects=False
|