SOLVED - Router for whoami works but non others do

so i was having some issues getting traefik to work. short summarize on of what i already did
i created a dns reroute in my adguard home so that srv.local points to my server ip
then i created a docker-compose and traefik.yml file for traefik and a seperate docker-compose for whoami

traefik docker: version: '3.7'networks: traefik: external: trueservices: - Pastebin.com
traefik.yml: https ://pastebin.com/kaEpkQSM

so when i browse to http ://srv.local/whoami
It works - I can see the output of the whoami program

however, when i try any other router i created like http ://srv.local/traefik or http ://srv.local/dozzle or http ://srv.local/helloworld or http ://srv.local/changedetection or http ://srv/local/paperlessng

it doesnt work.

for dozzle i get just a blank page (no error or whatsoever)

for changedetection i get: Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

for traefik i get 404 page not found

for hellowolrd i get 404 Not Found - nginx/1.21.6

for paperless when i go to http ://srv.local/paperless it changes the url to
http ://srv.local/accounts/login/?next=/paperlessng
BUT i still get 404 page not found

while for instance in the changedetection logging of the docker i can see my connection incoming:
(192.168.18.99 = my laptops ip)


* today at 2:38:03 PMWatching: ff026c6f-2e2c-42de-8ba9-6667b8225d57 http ://www.quotationspage.com/random.php
* today at 2:38:03 PMWatching: b563c18c-d70c-45c1-a7f6-42c36f0c4660 https ://news.ycombinator.com/
* today at 2:38:03 PMWatching: b96c79c9-d987-4b15-9488-1fbcc5ba2eb9 https ://www.gov.uk/coronavirus
* today at 2:38:03 PMWatching: be679108-7b32-49ae-a289-2a1b05baf747 https ://changedetection.io/CHANGELOG.txt
* today at 2:38:03 PM(1) wsgi starting up on http ://0.0.0.0:5000
* today at 2:39:55 PM(1) accepted ('172.25.0.3', 53240)
* today at 2:39:55 PM192.168.18.99,172.25.0.3 - - [30/Mar/2022 12:39:55] "GET /changedetection HTTP/1.1" 404 356 0.002328
* today at 2:39:57 PM192.168.18.99,172.25.0.3 - - [30/Mar/2022 12:39:57] "GET /changedetection HTTP/1.1" 404 356 0.001652
* today at 2:39:58 PM192.168.18.99,172.25.0.3 - - [30/Mar/2022 12:39:58] "GET /changedetection HTTP/1.1" 404 356 0.002220
* today at 2:39:58 PM192.168.18.99,172.25.0.3 - - [30/Mar/2022 12:39:58] "GET /changedetection HTTP/1.1" 404 356 0.001653
* today at 2:39:58 PM192.168.18.99,172.25.0.3 - - [30/Mar/2022 12:39:58] "GET /changedetection HTTP/1.1" 404 356 0.001727

so if i look at the differences in docker files

the one that works
whoami docker: version: '3.7'networks: traefik: external: trueservices: - Pastebin.com

the ones that don't work
changedetection: version: '3.7'networks: traefik: external: trueservices: - Pastebin.com
helloworld: version: '3.7'networks: traefik: external: trueservices: - Pastebin.com

what am i doing wrong here?
I can see al these routers in my traefik dashboard, and with the correct port.....

what am i missing ?
*** for some links i deliberately added a space in between, since new users can only post 4 links ...

======================================================================
SOLVED-----------------------------------------------------------------------------------------------------------------

my mistake was using pathprefix for defaultrule.
i change the defaultrule to

defaultRule: "Host(`{{ index .Labels `com.docker.compose.service` }}.srv.local`)"

and now i can just go to traefik.srv.local or dozzle.srv.local and everything works