From 66dc75ec0555669b38b5446df40ddadcd76ef70c Mon Sep 17 00:00:00 2001 From: erikjohnston Date: Wed, 14 Sep 2022 20:25:14 +0000 Subject: deploy: 80bb098d8775cc2ad1bf5abd150913577e643481 --- latest/setup/forward_proxy.html | 2 +- latest/setup/installation.html | 25 +++++++++++++++---------- 2 files changed, 16 insertions(+), 11 deletions(-) (limited to 'latest/setup') diff --git a/latest/setup/forward_proxy.html b/latest/setup/forward_proxy.html index 29b10b88b2..0a1e01c45c 100644 --- a/latest/setup/forward_proxy.html +++ b/latest/setup/forward_proxy.html @@ -76,7 +76,7 @@ diff --git a/latest/setup/installation.html b/latest/setup/installation.html index b2c973b217..49785876b8 100644 --- a/latest/setup/installation.html +++ b/latest/setup/installation.html @@ -76,7 +76,7 @@ @@ -500,8 +500,12 @@ and notif_from fields filled out. You may also need to set s

If email is not configured, password reset, registration and notifications via email will be disabled.

Registering a user

-

The easiest way to create a new user is to do so from a client like Element.

-

Alternatively, you can do so from the command line. This can be done as follows:

+

One way to create a new user is to do so from a client like +Element. This requires registration to be enabled via +the +enable_registration +setting.

+

Alternatively, you can create new users from the command line. This can be done as follows:

  1. If synapse was installed via pip, activate the virtualenv as follows (if Synapse was installed via a prebuilt package, register_new_matrix_user should already be @@ -512,7 +516,7 @@ synctl start # if not already running
  2. Run the following command: -
    register_new_matrix_user -c homeserver.yaml http://localhost:8008
    +
    register_new_matrix_user -c homeserver.yaml
     
@@ -524,12 +528,13 @@ Confirm password: Make admin [no]: Success! -

This process uses a setting registration_shared_secret in -homeserver.yaml, which is shared between Synapse itself and the -register_new_matrix_user script. It doesn't matter what it is (a random -value is generated by --generate-config), but it should be kept secret, as -anyone with knowledge of it can register users, including admin accounts, -on your server even if enable_registration is false.

+

This process uses a setting +registration_shared_secret, +which is shared between Synapse itself and the register_new_matrix_user +script. It doesn't matter what it is (a random value is generated by +--generate-config), but it should be kept secret, as anyone with knowledge of +it can register users, including admin accounts, on your server even if +enable_registration is false.

Setting up a TURN server

For reliable VoIP calls to be routed via this homeserver, you MUST configure a TURN server. See TURN setup for details.

-- cgit 1.5.1