Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
matrix:conduwuit [2025/03/11 08:39] – [Reverse proxy] willy | matrix:conduwuit [2025/10/01 07:44] (current) – willy | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | [[https://conduwuit.puppyirl.gay/|Conduwuit]] is a Matrix server written in RUST, it is a new, well supported, lightweight implementation of a Matrix server. | + | **Note:** Sadly, Conduwuit project has been abandoned by the current devs and archived. Conduwuit is deprecated, the following instructions are left for historical reference only, **DO NOT FOLLOW**. |
+ | |||
+ | [[https://forgejo.ellis.link/ | ||
+ | |||
+ | __Note:__ there is another fork of Conduwuit | ||
+ | * Fully community based projct (Tuwunnel is sponsored by a for-profit company) | ||
+ | * Active community | ||
+ | * Fast response to tickets | ||
+ | * Very active development | ||
===== Installation ===== | ===== Installation ===== | ||
- | Installation instructions: | + | Installation instructions: |
Create user and required folders: | Create user and required folders: | ||
<code bash> | <code bash> | ||
- | seradd -d / | + | seradd -d / |
- | mkdir -p /data/conduwuit/db /var/log/conduwuit | + | mkdir -p /data/continuwuity/db /var/log/continuwuity |
- | chown conduwuit:conduwuit | + | chown continuwuity:continuwuity |
</ | </ | ||
- | Download the correct executable from [[https://github.com/girlbossceo/conduwuit/releases|GitHUB | + | Download the correct executable from [[https://forgejo.ellis.link/continuwuation/continuwuity/releases|EllisHub |
<code bash> | <code bash> | ||
- | su - conduwuit | + | su - continuwuity |
mkdir bin | mkdir bin | ||
cd bin | cd bin | ||
- | wget https://github.com/girlbossceo/conduwuit/ | + | wget https://forgejo.ellis.link/continuwuation/continuwuity/ |
</ | </ | ||
- | ===== Configuration of Conduwuit | + | ===== Configuration of Continuwuity |
- | The official | + | The official |
- | Now, you cannot start Conduwuit | + | Now, you cannot start Continuwuity |
- | <file /data/conduwuit/conduwuit.toml> | + | <file /data/continuwuity/continuwuity.toml> |
[global] | [global] | ||
server_name = " | server_name = " | ||
address = [" | address = [" | ||
port = 6167 | port = 6167 | ||
- | database_path = "/ | + | database_path = "/ |
new_user_displayname_suffix = " | new_user_displayname_suffix = " | ||
allow_check_for_updates = false | allow_check_for_updates = false | ||
Line 48: | Line 56: | ||
You are now ready for testing your installation. | You are now ready for testing your installation. | ||
+ | ==== Configuration of Continuwuity server ==== | ||
+ | To access the admin console, you need to type CTRL+C on the server command line. You can do this if you start the server manually and not automatically. So if you need the admin console to create the admin user or in general in the future, remember this. | ||
===== Manual startup ===== | ===== Manual startup ===== | ||
- | To run Conduwuit | + | To run Continuwuity |
<code bash> | <code bash> | ||
- | / | + | / |
</ | </ | ||
Line 73: | Line 83: | ||
https:// | https:// | ||
</ | </ | ||
- | |||
===== Reverse proxy ===== | ===== Reverse proxy ===== | ||
Line 82: | Line 91: | ||
server { | server { | ||
server_name chat.mydomain.com; | server_name chat.mydomain.com; | ||
+ | # Port 8443 goes to external connection (internet) | ||
listen 8443 ssl; | listen 8443 ssl; | ||
+ | # Port 443 is used for internal connections (home) | ||
listen 443 ssl; | listen 443 ssl; | ||
http2 on; | http2 on; | ||
Line 90: | Line 101: | ||
location / { # this is to provide a web client, see the ElementWeb page... | location / { # this is to provide a web client, see the ElementWeb page... | ||
- | root / | + | root / |
+ | } | ||
+ | |||
+ | # for the health test | ||
+ | location / | ||
+ | proxy_pass | ||
+ | proxy_http_version | ||
} | } | ||
location ~ ^(/ | location ~ ^(/ | ||
+ | # The $request_uri is MANDATORY to avoid URI being modifyed by NGINX | ||
proxy_pass | proxy_pass | ||
proxy_set_header | proxy_set_header | ||
Line 102: | Line 120: | ||
proxy_http_version | proxy_http_version | ||
} | } | ||
+ | # This is needed for federation | ||
location / | location / | ||
default_type | default_type | ||
Line 108: | Line 126: | ||
return | return | ||
} | } | ||
+ | # Enable snail sync for Element X and client access info in general | ||
location / | location / | ||
default_type | default_type | ||
Line 147: | Line 166: | ||
Since i use OpenRC, simply drop the following script to / | Since i use OpenRC, simply drop the following script to / | ||
- | <file - / | + | <file - / |
# | # | ||
# Copyright 2025 Gentoo Authors | # Copyright 2025 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 | ||
- | name="conduwuit | + | name="continuwuity |
- | description=" | + | description=" |
- | pidfile="/ | + | pidfile="/ |
command_background=true | command_background=true | ||
- | command="/ | + | command="/ |
- | command_args=" | + | command_args=" |
- | command_user=" | + | command_user=" |
- | output_log="/ | + | output_log="/ |
- | output_err="/ | + | output_err="/ |
depend() { | depend() { | ||
Line 169: | Line 188: | ||
Make it executable and add to the proper runlevel: | Make it executable and add to the proper runlevel: | ||
<code bash> | <code bash> | ||
- | chmod +x / | + | chmod +x / |
- | rc-update add conduwuit | + | rc-update add continuwuity |
</ | </ | ||