mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Merge pull request #4968 from Jurrie/feature/fix_small_stuff_in_Docker_README.md
Feature/fix small stuff in docker readme.md
This commit is contained in:
commit
215c15d049
1
changelog.d/4968.misc
Normal file
1
changelog.d/4968.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix typo in TLS filenames in docker/README.md. Also add the '-p' commandline option to the 'docker run' example. Contributed by Jurrie Overgoor.
|
@ -31,6 +31,7 @@ docker run \
|
|||||||
--mount type=volume,src=synapse-data,dst=/data \
|
--mount type=volume,src=synapse-data,dst=/data \
|
||||||
-e SYNAPSE_SERVER_NAME=my.matrix.host \
|
-e SYNAPSE_SERVER_NAME=my.matrix.host \
|
||||||
-e SYNAPSE_REPORT_STATS=yes \
|
-e SYNAPSE_REPORT_STATS=yes \
|
||||||
|
-p 8448:8448 \
|
||||||
matrixdotorg/synapse:latest
|
matrixdotorg/synapse:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -57,8 +58,8 @@ configuration file there. Multiple application services are supported.
|
|||||||
Synapse requires a valid TLS certificate. You can do one of the following:
|
Synapse requires a valid TLS certificate. You can do one of the following:
|
||||||
|
|
||||||
* Provide your own certificate and key (as
|
* Provide your own certificate and key (as
|
||||||
`${DATA_PATH}/${SYNAPSE_SERVER_NAME}.crt` and
|
`${DATA_PATH}/${SYNAPSE_SERVER_NAME}.tls.crt` and
|
||||||
`${DATA_PATH}/${SYNAPSE_SERVER_NAME}.key`, or elsewhere by providing an
|
`${DATA_PATH}/${SYNAPSE_SERVER_NAME}.tls.key`, or elsewhere by providing an
|
||||||
entire config as `${SYNAPSE_CONFIG_PATH}`).
|
entire config as `${SYNAPSE_CONFIG_PATH}`).
|
||||||
|
|
||||||
* Use a reverse proxy to terminate incoming TLS, and forward the plain http
|
* Use a reverse proxy to terminate incoming TLS, and forward the plain http
|
||||||
|
Loading…
Reference in New Issue
Block a user