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
matrix-synapse: fix documentation #63639
Conversation
I only touched the manual for cleanups and do not run Synapse but it looks to me like a typo. |
I'm running a synapse instance without the proposed change - works swimmingly. |
I run it without the suffix as well, and took it from the official documentation: https://github.com/matrix-org/synapse/blob/master/docs/reverse_proxy.rst @Ekleog My guess would be that you don't have the |
@florianjacob Unfortunately, I do have it set to true, and |
I doubt it. I have been running it since the 0.2x.y days and running on 1.0.0 on 19.03. |
That is weird. I've just checked my configuration, and in stuff that should concern synapse, the differences are:
None of these should, AFAIU, be able to change the observable behavior. At this stage I can see little options other than some weird upstream bug that I don't have time to track for now. @peterhoeg Can I ask you to test on your server with the |
It still works here if I add the |
Just stumbled over this change in the synapse nginx documentation referencing a thing called “nginx uri canonicalization / normalization” - @Ekleog you did not have a trailing slash sneaking into your Generally we should write an integration test for the full setup described in the manual, for cases like this as a reproducible foundation to be able to split apart side effects from people's specific setups and actual bugs in the manual / software, and to detect breakage on updates of the related software. |
Looking up my git history, I totally had a |
@Ekleog Great, I'm glad we were able to find the root cause. :) 👍 |
cc @jtojnar @florianjacob from the
git blame
.My synapse deployment would work properly only with this change, but pinging you to check whether you have the same thing or it's some other configuration difference that forced me to add that. :)