ソースを参照

remove mention of other docker host in external webserver documentation (binding ports section)

pull/2162/head
François Darveau 3年前
コミット
21bed90e13
1個のファイルの変更4行の追加4行の削除
  1. +4
    -4
      docs/configuring-playbook-own-webserver.md

+ 4
- 4
docs/configuring-playbook-own-webserver.md ファイルの表示

@@ -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:


読み込み中…
キャンセル
保存