| @@ -33,16 +33,16 @@ No matter which external webserver you decide to go with, you'll need to: | |||||
| ```yaml | ```yaml | ||||
| matrix_nginx_proxy_enabled: false | matrix_nginx_proxy_enabled: false | ||||
| ``` | ``` | ||||
| - if using an external server on another docker network or host, add the `<service>_http_host_bind_port` or `<service>_http_bind_port` variables for the services that will be exposed by the external server on the other docker network or host. The actual name of the variable is listed in the `roles/<service>/defaults/vars.yml` file for each service. Most variables follow the `<service>_http_host_bind_port` format. | |||||
| - if using an external server on another host, add the `<service>_http_host_bind_port` or `<service>_http_bind_port` variables for the services that will be exposed by the external server on the other host. The actual name of the variable is listed in the `roles/<service>/defaults/vars.yml` file for each service. Most variables follow the `<service>_http_host_bind_port` format. | |||||
| These variables will make Docker expose the ports to the local network instead of localhost only. | These variables will make Docker expose the ports to the local network instead of localhost only. | ||||
| [Keep in mind that there are some security concerns if you simply proxy everything.](https://github.com/matrix-org/synapse/blob/master/docs/reverse_proxy.md#synapse-administration-endpoints) | [Keep in mind that there are some security concerns if you simply proxy everything.](https://github.com/matrix-org/synapse/blob/master/docs/reverse_proxy.md#synapse-administration-endpoints) | ||||
| Here are the variables required for the default configuration (Synapse and Element) | Here are the variables required for the default configuration (Synapse and Element) | ||||
| ``` | ``` | ||||
| matrix_synapse_container_client_api_host_bind_port: '8008' | |||||
| matrix_synapse_container_federation_api_plain_host_bind_port: '8048' | |||||
| matrix_client_element_container_http_host_bind_port: "8765" | |||||
| matrix_synapse_container_client_api_host_bind_port: '0.0.0.0:8008' | |||||
| matrix_synapse_container_federation_api_plain_host_bind_port: '0.0.0.0:8048' | |||||
| matrix_client_element_container_http_host_bind_port: "0.0.0.0:8765" | |||||
| ``` | ``` | ||||
| 3) **If you'll manage SSL certificates by yourself**, edit your configuration file (`inventory/host_vars/matrix.<your-domain>/vars.yml`) to disable SSL certificate retrieval: | 3) **If you'll manage SSL certificates by yourself**, edit your configuration file (`inventory/host_vars/matrix.<your-domain>/vars.yml`) to disable SSL certificate retrieval: | ||||