9f32292473
Co-authored-by: Julien Salleyron <julien@containo.us> Co-authored-by: Romain <rtribotte@users.noreply.github.com> Co-authored-by: Jean-Baptiste Doumenjou <jb.doumenjou@gmail.com>
42 lines
835 B
TOML
42 lines
835 B
TOML
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
[api]
|
|
insecure = true
|
|
|
|
[log]
|
|
level = "DEBUG"
|
|
|
|
[entryPoints]
|
|
[entryPoints.web]
|
|
address = ":8000"
|
|
|
|
[providers.file]
|
|
filename = "{{ .SelfFilename }}"
|
|
|
|
## dynamic configuration ##
|
|
|
|
[http.routers]
|
|
[http.routers.router1]
|
|
rule = "Host(`test.localhost`)"
|
|
middlewares = ["secure"]
|
|
service = "service1"
|
|
|
|
[http.routers.router2]
|
|
rule = "Host(`test2.localhost`)"
|
|
service = "service1"
|
|
|
|
[http.routers.router3]
|
|
rule = "Host(`internal.localhost`)"
|
|
middlewares = ["secure"]
|
|
service = "api@internal"
|
|
|
|
[http.middlewares]
|
|
[http.middlewares.secure.headers]
|
|
featurePolicy = "vibrate 'none';"
|
|
|
|
[http.services]
|
|
[http.services.service1.loadBalancer]
|
|
[[http.services.service1.loadBalancer.servers]]
|
|
url = "http://127.0.0.1:9000"
|