mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
docs: Specify port in host for example (#8167)
This example shows a TLS enabled ingress config on a non-https port. Currently, that means we require the port to be specified in one of the host entries to route traffic.
This commit is contained in:
parent
20a6e1c638
commit
2904cdac36
@ -90,11 +90,11 @@ Listeners = [
|
|||||||
Services = [
|
Services = [
|
||||||
{
|
{
|
||||||
Name = "api"
|
Name = "api"
|
||||||
Hosts = ["foo.example.com"]
|
Hosts = ["foo.example.com", "foo.example.com:4567"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name = "web"
|
Name = "web"
|
||||||
Hosts = ["website.example.com"]
|
Hosts = ["website.example.com", "website.example.com:4567"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user