Skip to content

Commit f4ba869

Browse files
authored
Merge pull request #1072 from nginx-proxy/1064-test-update
test: update wildcard location enumeration test
2 parents 2161ae5 + 2be9324 commit f4ba869

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
*.bar.baz.example.com
2-
*.baz.example.com
1+
*.bar.baz.com.example.com
2+
*.baz.com.example.com
3+
*.com.example.com
34
*.example.com
4-
foo.bar.baz.example.*
5+
foo.bar.baz.com.example.*
6+
foo.bar.baz.com.*
57
foo.bar.baz.*
68
foo.bar.*
79
foo.*

test/tests/location_config/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function check_location {
5454
}
5555

5656
# check the wildcard location enumeration function
57-
docker exec "$le_container_name" bash -c 'source /app/functions.sh; enumerate_wildcard_locations foo.bar.baz.example.com'
57+
docker exec "$le_container_name" bash -c 'source /app/functions.sh; enumerate_wildcard_locations foo.bar.baz.com.example.com'
5858

5959
# default configuration file should be empty
6060
config_path="$vhost_path/default"

0 commit comments

Comments
 (0)