want subdomain to point to a local IP
solution is in a yml file do this:
http:
routers:
test:
rule: "Host(`test.blablabla.org`)"
service: test
entryPoints:
- web
services:
test:
loadBalancer:
servers:
- url: "http://10.0.19.5:80"
Is there a way to define this using labels?
I tried this
- "traefik.http.services.to-local-ip-service.loadbalancer.server.url=10.0.19.5"
- "traefik.http.services.to-local-ip-service.loadbalancer.server.port=80"
- "traefik.http.routers.to-local-ip.rule=Host(`test.blablabla.org`)"
- "traefik.http.routers.to-local-ip.entrypoints=web"
but I dont think .url parameter exists, so its given containers IP