summaryrefslogtreecommitdiff
path: root/smoketest/configs/basic-api-service
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-11-22 08:09:20 +0200
committerGitHub <noreply@github.com>2023-11-22 08:09:20 +0200
commit756bd6d45ab76cca7155fb76a0d3c8e4dbe6d517 (patch)
tree9072da20295d86482d94a864f961e57a869cfd56 /smoketest/configs/basic-api-service
parentd908073cac14539ba54665715ab84a5bf40662ad (diff)
parent92a75196e5a0d9568905f1c990a080cc4e1e0ea9 (diff)
downloadvyos-1x-756bd6d45ab76cca7155fb76a0d3c8e4dbe6d517.tar.gz
vyos-1x-756bd6d45ab76cca7155fb76a0d3c8e4dbe6d517.zip
Merge pull request #2523 from vyos/mergify/bp/sagitta/pr-2519
http: T5762: rename "virtual-host listen-port" -> "virtual-host port" (backport #2519)
Diffstat (limited to 'smoketest/configs/basic-api-service')
-rw-r--r--smoketest/configs/basic-api-service24
1 files changed, 22 insertions, 2 deletions
diff --git a/smoketest/configs/basic-api-service b/smoketest/configs/basic-api-service
index 98b2ebcf8..f5b56ac98 100644
--- a/smoketest/configs/basic-api-service
+++ b/smoketest/configs/basic-api-service
@@ -18,8 +18,28 @@ service {
}
socket
}
- }
- ssh {
+ virtual-host bar {
+ allow-client {
+ address 172.16.0.0/12
+ }
+ listen-port 5555
+ server-name bar
+ }
+ virtual-host baz {
+ allow-client {
+ address 192.168.0.0/16
+ }
+ listen-port 6666
+ server-name baz
+ }
+ virtual-host foo {
+ allow-client {
+ address 10.0.0.0/8
+ address 2001:db8::/32
+ }
+ listen-port 7777
+ server-name foo
+ }
}
}
system {