1. The problem I’m having:
I have two vms both of which use the same domain name. One of these hosts a Foundry VTT server, the other hosts a Matrix server. The Foundry server predates the Matrix one and I used Caddy to allow me to use my domain name instead of the IP address of the server. I’m now trying to use the Caddy instance on the Foundry server to reverse-proxy the well-known files from the base domain’s server to the Matrix server as directed in this setup guide matrix-docker-ansible-deploy/docs/configuring-well-known.md at master · spantaleev/matrix-docker-ansible-deploy · GitHub. However, when I navigate to https://songofstone.com/.well-known/matrix/server I get an error of “Cannot GET /.wellknown/matrix/server”.
2. Error messages and/or full log output:
Caddy is not issuing any error messages.
Caddy is not issuing any error messages.
3. Caddy version:
v2.11.1
4. How I installed and ran Caddy:
I installed Caddy via apt install caddy
a. System environment:
OS: Ubuntu 24.04 Minimal aarch64
Architecture: Ampere Altra ARM-based processor VM.Standard.A1.Flex
The VM is running on OCI
b. Command:
I just use caddy reload?
I just use caddy reload?
c. Service/unit/compose file:
d. My complete Caddy config:
songofstone.com {
reverse_proxy localhost:30000
reverse_proxy /.well-known/matrix/* https://matrix.songofstone.com {
header_up Host {upstream_hostport}
}
encode zstd gzip
}
https:// {
tls internal {
on_demand
}
reverse_proxy localhost:30000
encode zstd gzip
}
5. Links to relevant resources:
I’m following the steps at matrix-docker-ansible-deploy/docs/configuring-well-known.md at master · spantaleev/matrix-docker-ansible-deploy · GitHub