Hi,
Let's say we have a domain (ie: foo.org) where a drupal will response, and then we have some folders redirecting to other webapps. Graphically it would be something like this:
-
foo.org --> drupal-root
- foo.org/service1 --> webapp1
- foo.org/service2 --> webapp2
The "drupal-root" has the following labels:
- "traefik.enable=true"
- "traefik.http.routers.foo-app.entrypoints=websecure"
- "traefik.http.routers.foo-app.tls=true"
- "traefik.http.routers.foo-app.rule=Host(`foo.org`)"
While sites are like follow:
- "traefik.enable=true"
- "traefik.http.routers.service1-app.entrypoints=websecure"
- "traefik.http.routers.service1-app.tls=true"
- "traefik.http.routers.service1-app.rule=Host(`foo.org`) && PathPrefix(`/webapp1`)"
Are those settings fine to make all work as expected or will drupal-root get all the traffic?
In other words, how traefik define the priorities?
I'm asking because I made some tests and I get wired results (some services work and others where redirected to drupal-root)... and I like to confirm settings are fine before keep digging.
Thanks in advance for your help,
m.