Sfoglia il codice sorgente

Merge pull request #294 from julianfoad/patch-2

Fix --mount syntax in examples
pull/295/head
Slavi Pantaleev 6 anni fa
committed by GitHub
parent
commit
c75a281bbd
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      docs/howto-server-delegation.md

+ 2
- 2
docs/howto-server-delegation.md Vedi File

@@ -90,7 +90,7 @@ If your files are not in `/matrix/ssl` but in some other location, you would nee


```yaml ```yaml
matrix_synapse_container_extra_arguments: matrix_synapse_container_extra_arguments:
- "--mount type-bind,src=/some/path/on/the/host,dst=/some/path/inside/the/container,ro"
- "--mount type=bind,src=/some/path/on/the/host,dst=/some/path/inside/the/container,ro"
``` ```


You then refer to them (for `matrix_nginx_proxy_proxy_matrix_federation_api_ssl_certificate` and `matrix_nginx_proxy_proxy_matrix_federation_api_ssl_certificate_key`) by using `/some/path/inside/the/container`. You then refer to them (for `matrix_nginx_proxy_proxy_matrix_federation_api_ssl_certificate` and `matrix_nginx_proxy_proxy_matrix_federation_api_ssl_certificate_key`) by using `/some/path/inside/the/container`.
@@ -117,7 +117,7 @@ To do that, make sure the certificate files are mounted into the Synapse contain


```yaml ```yaml
matrix_synapse_container_extra_arguments: matrix_synapse_container_extra_arguments:
- "--mount type-bind,src=/some/path/on/the/host,dst=/some/path/inside/the/container,ro"
- "--mount type=bind,src=/some/path/on/the/host,dst=/some/path/inside/the/container,ro"
``` ```


You can then tell Synapse to serve Federation traffic over TLS on `tcp/8448`: You can then tell Synapse to serve Federation traffic over TLS on `tcp/8448`:


Caricamento…
Annulla
Salva