-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation for using Sygnal behind a reverse proxy #345
Comments
I am trying to use let's encrypt certificate (Caddy reverse proxy) same caddyfile as my matrix server but additional lines
so our push gateway url in the client is Don't know why let's encrypt/reverse proxy isn't working for our push gateway configuration. The error we get if we use https with push gateway is JSONDecode error |
Can you expand more about what "doesn't work"? Are you getting an error somewhere? From the homeserver logs perhaps? There should not be anything special about the reverse proxy for Sygnal, not that the URL is |
sorry it was manually typed, and not copy pasted. We are using the URL The error when used with https is JSONDecode Error. Shown below, we get a 200 code and then JSONDecode error if we use reverse proxy. The 200 code confirms that it is working fine but when matrix server tries to send the message it can't.
|
What are the sygnal logs? Do they show that a request comes in? From the response I would guess that caddy is either responding directly or that it is sending it to the wrong process. Without showing more of your caddy file it is hard to know which it is. |
There is nothing in sygnal logs when caddy/https is used. I saw that there is Caddyfile
Where zz.xx.com is our main matrix URL and zz.xx.com is the pusher URL (sharing subdomain xx.com) |
They should be able to. Are Note that again you've typed |
zz and xx are subdomains and share the same domain name of xx.com |
@hmanzer did you manage to get this working? |
Yes. Thanks
Humayun Manzer
email: ***@***.***
…On Fri, Nov 24, 2023 at 12:02 AM, David Robertson ***@***.***(mailto:On Fri, Nov 24, 2023 at 12:02 AM, David Robertson <<a href=)> wrote:
***@***.***(https://github.com/hmanzer) did you manage to get this working?
—
Reply to this email directly, [view it on GitHub](#345 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AJOG6KUZLGYBTBZ2NYYC66LYF5XRHAVCNFSM6AAAAAA4GGCUKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRUGY3DENBRGQ).
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I am looking at some guidance for running the sygnal server with https using caddy or any other reverse_proxy server
The text was updated successfully, but these errors were encountered: