Hi everybody,
I have been working with Traefik for a little while now and all seemed to work just fine,
however today I tried to add a new rule to my .toml file and it does not work as expected. Can somebody please look at my configuration and tell me if I did something wrong or if I just don't understand how to write a toml configuration.
What do I want:
When a user browses to sites.example.nl the proxy should lead them to my apache on server .55
When a user browses to nextorderstats.nl the proxy should lead them to my apache on server .55/nextorderstats
And when a user browses to home.example.nl the proxy should lead them to my apache server on server .55/home
(example.nl is in reality a domain I own )
here is my frontend/backend part of the toml file:
[file]
watch = true
[backends]
[backends.kronos]
[backends.kronos.servers.server1]
url = "http://xxx.xxx.xxx.55:80"
hostname = "sites.example.nl"
[backends.digimon]
[backends.digimon.servers.server1]
url = "http://xxx.xxx.xxx.55:80/nextorder"
hostname = "nextorderstats.nl"
[backends.home]
[backends.home.servers.server1]
url = "http://xxx.xxx.xxx.55:80/home"
hostname = "home.example.nl"
[frontends]
[frontends.frontend1]
backend = "kronos"
passHostHeader = true
[frontends.frontend1.routes.kronos]
rule = "Host:sites.example.nl"
[frontends.frontend2]
backend = "digimon"
passHostHeader = true
[frontends.frontend2.routes.kronos]
rule = "Host:nextorderstats.nl"
[frontends.frontend3]
backend = "home"
passHostHeader = true
[frontends.frontend3.routes.hoofd]
rule = "Host:home.example.nl"
The first 2 parts (sites.example.nl and nextorderstats.nl) work as expected, the homepart, however, lead me not to .55/home but simply to .55
Did I do something wrong? I just cannot find my error. Any help will be appreciated