1
0
Fork 0

Merge pull request #1072 from nginx-proxy/1064-test-update

test: update wildcard location enumeration test
This commit is contained in:
Nicolas Duchon 2023-12-10 19:01:53 +01:00 committed by GitHub
commit f4ba86995f
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,9 @@
*.bar.baz.example.com
*.baz.example.com
*.bar.baz.com.example.com
*.baz.com.example.com
*.com.example.com
*.example.com
foo.bar.baz.example.*
foo.bar.baz.com.example.*
foo.bar.baz.com.*
foo.bar.baz.*
foo.bar.*
foo.*

View File

@ -54,7 +54,7 @@ function check_location {
}
# check the wildcard location enumeration function
docker exec "$le_container_name" bash -c 'source /app/functions.sh; enumerate_wildcard_locations foo.bar.baz.example.com'
docker exec "$le_container_name" bash -c 'source /app/functions.sh; enumerate_wildcard_locations foo.bar.baz.com.example.com'
# default configuration file should be empty
config_path="$vhost_path/default"