How to setup well known for matrix synapse

1. The problem I’m having:

I am runnig a matrix chat server and i want it to use in with android, but then i got someting about .well-known. After searching a lot i found out that i have to put it in de caddy file.
But i have no idea what i have to put in there. I have seen a few examples but i have no idea how to use them in my case. I already have a lot of programs running.
So i have only the reverse proxy and below that i tried different sorts of scripts.

2. Error messages and/or full log output:

.well-known not available (in Element on Android)

3. Caddy version:

v2.8.4 h1:q3pe0wpBj1OcHFZ3n/1nl4V4bxBrYoSoab7rL9BMYNk=

4. How I installed and ran Caddy:

I installed it in windows 11

a. System environment:

Ubuntu on WSL in windows 11

b. Command:

./caddy run

c. Service/unit/compose file:

d. My complete Caddy config:

}

mychat.website.org {
	reverse_proxy localhost:8008
}

5. Links to relevant resources:

Please share more details. Share the references you found where they talk about the .well-known path and others. We aren’t experts in Matrix synapses.

Here are a few examples :

If you can help me that would me great!