|
@@ -19,9 +19,9 @@ def test_web2_HSTS_policy_is_inactive(docker_compose, nginxproxy):
|
|
|
assert "Strict-Transport-Security" not in r.headers
|
|
|
|
|
|
|
|
|
-def test_web3_acme_challenge_does_not_work(docker_compose, nginxproxy, acme_challenge_path):
|
|
|
+def test_web3_acme_challenge_does_work(docker_compose, nginxproxy, acme_challenge_path):
|
|
|
r = nginxproxy.get(
|
|
|
f"http://web3.nginx-proxy.tld/{acme_challenge_path}",
|
|
|
allow_redirects=False
|
|
|
)
|
|
|
- assert r.status_code == 404
|
|
|
+ assert r.status_code == 200
|