Skip to content
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

Allow federation to re-use existing port on separate domain #858

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lxp
Copy link
Contributor

@lxp lxp commented Feb 4, 2021

This pull request makes it possible to run federation over the same port that Matrix clients use (for example port 443). However, it is necessary to use another subdomain for the vhost.

Example configuration:

matrix_server_fqn_matrix_federation: "matrix-federation.{{ matrix_domain }}"
matrix_federation_public_port: 443

This pull request is still work-in-progress, please do not merge yet.

During development I wondered why the matrix-nginx-proxy role uses different ports when matrix_nginx_proxy_enabled is false.
As I did not understand the purpose, I also did not copy this behavior in this pull request.
Shouldn't nginx be fully disabled, in this case?

This change makes it possible to run federation over the same port
that Matrix clients use (for example port 443). However, it is
necessary to use another subdomain for the vhost.

Example configuration:

matrix_server_fqn_matrix_federation: "matrix-federation.{{ matrix_domain }}"
matrix_federation_public_port: 443
@oxmie
Copy link
Contributor

oxmie commented Aug 31, 2021

Hey @lxp, this PR #1147 may solves your situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants