Przeglądaj źródła

chore: spelling fixes for #2468 (#2471)

Niek 1 rok temu
rodzic
commit
7922c925af

+ 1 - 1
docs/README.md

@@ -424,7 +424,7 @@ If you are running the container in a virtualized environment (Hyper-V, VirtualB
 By default nginx-proxy generates location blocks to handle ACME HTTP Challenge, excepted when `HTTPS_METHOD=noredirect` or there is no certificate for the domain. Ths behavior can be changed with environment variable `ACME_HTTP_CHALLENGE_LOCATION`. It accepts these values:
 * `legacy`: default value; current default behavior
 * `true`: handle ACME HTTP Challenge in all cases
-* `false`: do not handle ACME HTTP Chalenge at all.
+* `false`: do not handle ACME HTTP Challenge at all.
 
 ### Diffie-Hellman Groups
 

+ 2 - 2
test/test_acme_http_challenge_location/test_acme_challenge_location_disabled.py

@@ -15,14 +15,14 @@ def test_redirect_acme_challenge_location_enabled(docker_compose, nginxproxy, ac
     )
     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(
         f"http://web3.nginx-proxy.tld/{acme_challenge_path}",
         allow_redirects=False
     )
     assert r.status_code == 404
 
-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(
         f"http://web4.nginx-proxy.tld/{acme_challenge_path}",
         allow_redirects=False

+ 2 - 2
test/test_acme_http_challenge_location/test_acme_challenge_location_enabled.py

@@ -15,14 +15,14 @@ def test_redirect_acme_challenge_location_disabled(docker_compose, nginxproxy, a
     )
     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(
         f"http://web3.nginx-proxy.tld/{acme_challenge_path}",
         allow_redirects=False
     )
     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(
         f"http://web4.nginx-proxy.tld/{acme_challenge_path}",
         allow_redirects=False

+ 1 - 1
test/test_acme_http_challenge_location/test_acme_challenge_location_legacy_is_default.py

@@ -8,7 +8,7 @@ def test_redirect_acme_challenge_location_legacy(docker_compose, nginxproxy, acm
     )
     assert r.status_code == 200
 
-def test_noderirect_acme_challenge_location_legacy(docker_compose, nginxproxy, acme_challenge_path):
+def test_noredirect_acme_challenge_location_legacy(docker_compose, nginxproxy, acme_challenge_path):
     r = nginxproxy.get(
         f"http://web2.nginx-proxy.tld/{acme_challenge_path}",
         allow_redirects=False