mirror of
https://github.com/containous/traefik.git
synced 2024-12-23 17:34:13 +03:00
26 lines
406 B
TOML
26 lines
406 B
TOML
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
[entryPoints]
|
|
[entryPoints.web]
|
|
address = ":8000"
|
|
|
|
[entryPoints.traefik]
|
|
address = ":8080"
|
|
|
|
|
|
[api]
|
|
|
|
[providers.file]
|
|
filename = "{{ .SelfFilename }}"
|
|
|
|
[http.routers.api]
|
|
rule="PathPrefix(`/secure`)"
|
|
service="api@internal"
|
|
middlewares=["strip"]
|
|
|
|
[http.middlewares.strip.stripPrefix]
|
|
prefixes = [ "/secure" ]
|
|
|