-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrules-infra.toml
More file actions
25 lines (22 loc) · 854 Bytes
/
rules-infra.toml
File metadata and controls
25 lines (22 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[http.routers]
# Define a connection between requests and services
[http.routers.ohsmart]
rule = "Host(`ohsmart.dansdemo.nl`)"
entrypoints = ["websecure"]
service = "ohsmart"
[http.routers.ohsmart.tls]
certResolver = "myresolver"
[http.routers.eden]
rule = "Host(`eden.labs.dansdemo.nl`)"
entrypoints = ["websecure"]
service = "ohsmart-eden"
[http.routers.eden.tls]
certResolver = "myresolver"
[http.services]
# Define how to reach an existing service on our infrastructure
[http.services.ohsmart.loadBalancer]
[[http.services.ohsmart.loadBalancer.servers]]
url = "ohsmart"
[http.services.ohsmart-eden.loadBalancer]
[[http.services.ohsmart-eden.loadBalancer.servers]]
url = "ohsmart-eden"