Clarify default ports for monolith server

This commit is contained in:
Richard van der Hoff 2017-08-21 18:29:21 +01:00
parent 559ff15930
commit 56c6c2f87d

View file

@ -97,11 +97,13 @@ Create config file, based on `dendrite-config.yaml`. Call it `dendrite.yaml`. Th
## Starting a monolith server ## Starting a monolith server
It is possible to use 'naffka' as an in-process replacement to Kafka when using the monolith server. To do this, set `use_naffka: true` in `dendrite.yaml`. It is possible to use 'naffka' as an in-process replacement to Kafka when using
the monolith server. To do this, set `use_naffka: true` in `dendrite.yaml`.
The monolith server can be started as shown below. By default it listens on The monolith server can be started as shown below. By default it listens for
ports 8008 and 8448, so point your client at `http://localhost:8008` or HTTP connections on port 8008, so point your client at
`https://localhost:8448`. `http://localhost:8008`. If you set `--tls-cert` and `--tls-key` as shown
below, it will also listen for HTTPS connections on port 8448.
```bash ```bash
./bin/dendrite-monolith-server --tls-cert=server.crt --tls-key=server.key ./bin/dendrite-monolith-server --tls-cert=server.crt --tls-key=server.key