diff --git a/test/tests/location_config/expected-std-out.txt b/test/tests/location_config/expected-std-out.txt index f3f10c5..fc5bef9 100644 --- a/test/tests/location_config/expected-std-out.txt +++ b/test/tests/location_config/expected-std-out.txt @@ -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.* diff --git a/test/tests/location_config/run.sh b/test/tests/location_config/run.sh index 0038616..96bbb98 100755 --- a/test/tests/location_config/run.sh +++ b/test/tests/location_config/run.sh @@ -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"