/
githubmirror
/
traefik
Обзор
Документация
Войти
/
githubmirror
/
traefik
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
integration/fixtures/headers/secure.toml
43 строки
855 B
Ludovic Fernandez
New logger for the Traefik logs
21 ноя 2022, 20:36
Не верифицирован
21 ноя 2022, 20:36
56f7515
Код
Авторство
О чём код?
[global] checkNewVersion = false sendAnonymousUsage = false [api] insecure = true [log] level = "DEBUG" noColor = true [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] permissionsPolicy = "microphone=()," [http.services] [http.services.service1.loadBalancer] [[http.services.service1.loadBalancer.servers]] url = "http://127.0.0.1:9000"