meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
digital:server:matrixsynapsemisc [2018/11/08 17:46] natrius |
digital:server:matrixsynapsemisc [2022/03/26 23:25] natrius |
||
---|---|---|---|
Line 3: | Line 3: | ||
Different things, sometimes advanced and some things that just did not fit in the regular guide. | Different things, sometimes advanced and some things that just did not fit in the regular guide. | ||
- | ## .well-known section | + | ## Interesting projects |
- | Mathijs | + | |
- | it's a little early, but you could also add a section about .well-known | + | |
- | which just means you have nginx serve a json file on example.com/ | + | |
- | I did it for apache, but it's probably fairly easy for nginx as well | + | |
- | Mathijs | + | Moved to [[digital:server:matrixprojects|Matrix projects]] |
- | https:// | + | |
- | if you like reading spec :) | + | |
- | ## Add an SRV Record | + | ## Synpase maintenance tools |
- | To use the domain '' | + | * https://matrix-org.github.io/ |
- | After the A record is set up, create a SRV Record that looks like | + | ## Show the public rooms on the server |
- | < | + | * '' |
- | So, for example use | + | ## Coturn |
- | < | + | Coturn is a turn server and it is used for 1:1 voip calls through the client (example: riot). |
- | and when creating the Synapse server use '' | + | < |
- | Stefan | + | Edit Config files |
- | So, when I'm using the domain matrix.example.com and want to use exmpale.com for the registration and so on, i should use SRV. | + | opening ports |
- | If i'm using example.com and making the redirect with nginx, there is no need for a SRV record? | + | |
- | kythyria | + | ## Installing Bots |
- | The SRV record | + | Matrix Synapse currently does not have a concept of bots, a bot is just a normal user. Usally there is a config and a '' |
- | Mathijs | + | Install python3 |
- | the relevant url is where the federated servers can connect to you | + | |
- | kythyria | + | < |
- | It's so your server_name (what' | + | then install pip |
- | ## Optional Adminshell | + | < |
- | If you forgot to write '' | + | then matrix-bot-api from pyp |
- | There is another way but you should **not** work like that all the time because its not secure. There is a reason you have to write '' | + | < |
- | ## Synpase maintenance tools | + | and finally fill out the config and start it |
- | https:// | + | < |
- | ## Change listener port | + | ## Exclude a server from a channel |
- | Now check if the HTTP and HTTPS listener port ' | + | Info von https:// |
- | < | + | - Chat `/devtools` |
+ | - `Send Custom Event` | ||
+ | - Rechts unten roten Button `Event` drücken | ||
+ | - Event Type: `m.room.server_acl` | ||
+ | - State Key: leer lassen | ||
+ | - Event Content: | ||
- | < | + | ``` |
- | port: 8448 | + | { |
- | | + | " |
- | - '0.0.0.0' | + | " |
+ | ], | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | "*.kiwifarms.net", | ||
+ | " | ||
+ | " | ||
+ | ] | ||
+ | } | ||
+ | ``` | ||
- | | + | - `Send` |
- | | + | - Bestätigung im Chat `[CURRENT USER] set the server ACLs for this room.` |
- | </ | + | |
- | ## Installing Bots | + | ## Send custom reactions to messages (Powerlevel 1) |
- | Matrix Synapse currently does not have a concept of bots, a bot is just a normal user. Usally there is a config and a '' | + | - Chat `/ |
+ | - `Send Custom Event` | ||
+ | - Event Type: `m.reaction` | ||
+ | - Event Content: | ||
- | Install python3 | + | ``` |
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | ``` | ||
- | < | + | ## Send custom reactions to messages (Powerlevel |
- | then install pip | + | - Chat `/ |
+ | - `Send Custom Event` | ||
+ | - Rechts unten roten Button `Event` drücken | ||
+ | - Event Type: `m.reaction` | ||
+ | - State Key: leer lassen | ||
+ | - Event Content: | ||
- | < | + | ``` |
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | ``` | ||
- | then matrix-bot-api from pyp | + | - `Send` |
- | < | + | ## Tombstone Event |
+ | |||
+ | - Chat `/devtools` | ||
+ | - `Send Custom Event` | ||
+ | - Rechts unten roten Button `Event` drücken | ||
+ | - Event Type: `m.room.tombstone` | ||
+ | - State Key: leer lassen | ||
+ | - Event Content: | ||
+ | |||
+ | ``` | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ``` | ||
+ | |||
+ | - `Send` | ||
+ | |||
+ | ## Inactive room blocking address | ||
+ | |||
+ | IIRC you can request release of alias at support@matrix.org | ||
- | and finally fill out the config and start it | ||
- | < |