Mam na lokale 3 api servery a 2 ui servery a skusam to zabalit do traefiku pre zjednodusenie prace, ale akosi to nic nerobi.Tak, ze kde by mohol byt problem?
traefik.config.yml
providers:
file:
filename: traefik.providers.yaml
global:
checkNewVersion: false
sendAnonymousUsage: false
serversTransport:
insecureSkipVerify: true
entryPoints:
web:
address: :80
spustam teda traefik --configFile=traefik.config.yml
traefik.providers.yaml
http:
routers:
gethly:
rule: "Host(`foo.test`)"
service: foo
services:
foo:
loadBalancer:
servers:
- url: "http://127.0.0.1:8080/"
Ked si otvorim foo.test:8080 tak nabehne co ma, ale ked si otvorim foo.test tak dostanem 404 od traefiku. foo.test mam v hosts subore naroutovany na 127.0.0.1, tam problem nie je.