-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Added config sample for synapse admin with traefik 2 #607
Added config sample for synapse admin with traefik 2 #607
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for contributing to the documentation!
I've submitted some feedback and questions :)
@@ -6,7 +6,6 @@ It's a web UI tool you can use to **administrate users and rooms on your Matrix | |||
|
|||
See the project's [documentation](https://github.com/Awesome-Technologies/synapse-admin) to learn what it does and why it might be useful to you. | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you restore this and the other removed lines?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry. the lines are restored
- '--label "traefik.enable=true"' | ||
|
||
# The Synapse Admin container will only receive traffic from this subdomain and path | ||
- '--label "traefik.http.routers.matrix-synapse-admin.rule=(Host(`{{ matrix_server_fqn_matrix }}`) && Path(`{matrix_synapse_admin_public_endpoint}`))"' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe {matrix_synapse_admin_public_endpoint}
needs to be {{ matrix_synapse_admin_public_endpoint }}
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you're correct. changed it :)
Thank you! 👍 |
I used the config sample at https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/configuring-playbook-own-webserver.md and extended it for the new synapse admin container, so that it would be available at https://matrix.DOMAIN/synapse-admin.
Please review and edit this PR.