matrix-docker-ansible-deploy icon indicating copy to clipboard operation
matrix-docker-ansible-deploy copied to clipboard

Why Traefik? Sliding Sync Proxy on existing nginx proxy or other webservers

Open 0x416c69 opened this issue 1 year ago • 7 comments

We care a lot about performance and the performance of Traefik is not good enough for us. It's sad that you're no longer gonna maintain nginx, is this decision reversible? If not, is there a guide to setting up sliding sync proxy for either the existing nginx or other better high performance web servers such as OpenLiteSpeed?

0x416c69 avatar Sep 09 '23 08:09 0x416c69

Maybe https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/configuring-playbook-own-webserver.md#another-webserver sufficient for you? That should allow you to use any other server, with the downside that you need to configure it yourself.

4censord avatar Sep 14 '23 07:09 4censord

@4censord I know that page exists but, does this setup also work for sliding proxy?

0x416c69 avatar Sep 14 '23 07:09 0x416c69

Well, on the project page itself it lists a snippet for using nginx: https://github.com/matrix-org/sliding-sync#same-hostname

4censord avatar Sep 14 '23 07:09 4censord

Could it be incompatible with future updates from this repo? Honestly I was afraid to use this big docker ansible deploy project, I guess it's time to move on from it and configure it all by myself, that'd be the safest and best option

0x416c69 avatar Sep 14 '23 07:09 0x416c69

If you use the external reverse proxy option, as far as i can tell that should not happen.

4censord avatar Sep 14 '23 07:09 4censord

So, using Nginx like reverse proxy with the Ansible script should be safe for future updates or it's not a good deal at all?

I'm with the OP on this, Traefik seems to be not better choice than Nginx but I assume there are cons and pros that I don't mind in the evaluation.

satonotdead avatar Dec 17 '23 03:12 satonotdead

@satoshinotdead i tried this but Element x still at the First sync

Happyfeet01 avatar Jan 23 '24 22:01 Happyfeet01