Initial work on getting nginx reverse proxying working with Dendrite

This commit is contained in:
Slavi Pantaleev
2021-12-18 10:50:44 +02:00
parent 2f57c51733
commit ecc237bbad
11 changed files with 143 additions and 28 deletions

View File

@ -64,7 +64,7 @@ global:
# Disables federation. Dendrite will not be able to make any outbound HTTP requests
# to other servers and the federation API will not be exposed.
disable_federation: {{ matrix_dendrite_disable_federation|to_json }}
disable_federation: {{ (not matrix_dendrite_federation_enabled)|to_json }}
# Configuration for Kafka/Naffka.
kafka:

View File

@ -44,7 +44,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-dendrite \
{{ arg }} \
{% endfor %}
{{ matrix_dendrite_docker_image }} \
--config /data/dendrite.yaml
-config /data/dendrite.yaml \
-http-bind-address {{ matrix_dendrite_container_http_bind_address }}
ExecStop=-{{ matrix_host_command_docker }} kill matrix-dendrite
ExecStop=-{{ matrix_host_command_docker }} rm matrix-dendrite