Closed mikedolx closed 1 year ago
Self-check doesn't seem to detect your non-HTTPS setup to check it properly. You can ignore it.
Accessing by IP doesn't work in Traefik - it only handles access by hostname.
Self-check doesn't seem to detect your non-HTTPS setup to check it properly. You can ignore it.
Accessing by IP doesn't work in Traefik - it only handles access by hostname.
Would it be possible to disable Traefik completely and just rely on th bare docker ports? As already stated i don't need a reverse proxy, as i have my own running with SSL etc.
The bare ports are too many ports on too many services that you need to expose manually and hook into your existing reverse proxy.
It's possible by setting matrix_playbook_reverse_proxy_type: other-on-same-host
(or other-on-another-host
).
Our documentation talks about this possibility as well: https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/configuring-playbook-own-webserver.md#using-no-reverse-proxy-on-the-matrix-side-at-all
It's better if you make Traefik front the whole mess and expose it as something like 127.0.0.1:81
, so that your other reverse-proxy can just reverse-proxy everything to 127.0.0.1:81
and be done with it.
Note: you'd still probably need to handle federation traffic (8448
) and things like Coturn separately, but.. most for most other services, you can just send traffic to that single
So i was able to run the playbook, by disabling the traefik reverse proxy with the option
matrix_playbook_reverse_proxy_type: other-on-another-host
Now, i have som other issues, but thats another ticket then 😁
Playbook Configuration:
My
vars.yml
file looks like this:Matrix Server:
Ansible: not really Ansible related
Problem description: I have ran the Ansible playbook on my Proxmox Ubuntu VM, with the
vars.yaml
above. The playbook seem to run successfully, no errors whatsoever. Only, when i verify everything, withansible-playbook -i inventory/hosts setup.yml --tags=self-check
, then i get some errors.I guess that's some issue with setting up the reverse proxy.
But, the point is: I already have a ready reverse proxy with SSL termination setup. All i need is the unencrypted enpoint, where i can redirect my reverse proxy to.
I have ssh'ed into the VM after i ran the playbook. I can see, that there are a lot of container setup, and some of them have a port mapping, which are:
That basically means, that if i browse within my home network the IP of the VM using either port 8448 or 80, i would expect the matrix synapse frontend to show up (you matrix server is running ...). But i'm gettig the message:
Presented as a simple HTML page. I guess, that this is traefik, that i'm hitting here. But why isn't it forwardig to the synapse container?
Am i missing a vars setting?
Client (please complete the following information):
Additional context None