User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
matrix:conduwuit [2025/03/11 08:39] – [Reverse proxy] willymatrix:conduwuit [2025/04/17 06:13] (current) – [Configuration of Conduwuit server] willy
Line 1: Line 1:
-====== Conduwuit ======+====== ZZ) (deprecated) Server: Conduwuit ====== 
 + 
 +**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://conduwuit.puppyirl.gay/|Conduwuit]] is a Matrix server written in RUST,  it is a new, well supported, lightweight implementation of a Matrix server. I also tried Synapse, the classic Matrix server, but ended up with Conduwuit that proved itself more lightweight and much easier to implement and maintain. [[https://conduwuit.puppyirl.gay/|Conduwuit]] is a Matrix server written in RUST,  it is a new, well supported, lightweight implementation of a Matrix server. I also tried Synapse, the classic Matrix server, but ended up with Conduwuit that proved itself more lightweight and much easier to implement and maintain.
Line 48: Line 50:
 You are now ready for testing your installation. You are now ready for testing your installation.
  
 +==== Configuration of Conduwuit 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 =====
  
Line 82: Line 85:
 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 94: Line 99:
  
         location ~ ^(/_matrix|/client) {         location ~ ^(/_matrix|/client) {
 +                # The $request_uri is MANDATORY to avoid URI being modifyed by NGINX
                 proxy_pass                      http://127.0.0.1:6167$request_uri;                 proxy_pass                      http://127.0.0.1:6167$request_uri;
                 proxy_set_header                X-Forwarded-For $remote_addr;                 proxy_set_header                X-Forwarded-For $remote_addr;
Line 102: Line 108:
                 proxy_http_version      1.1;                 proxy_http_version      1.1;
         }         }
 +        # This is needed for federation
         location /.well-known/matrix/server {         location /.well-known/matrix/server {
                 default_type                    application/json;                 default_type                    application/json;
Line 108: Line 114:
                 return                          200 '{"m.server": "chat.mydomain.com:443"}';                 return                          200 '{"m.server": "chat.mydomain.com:443"}';
         }         }
 +        # Enable snail sync for Element X and client access info in general
         location /.well-known/matrix/client {         location /.well-known/matrix/client {
                 default_type                    application/json;                 default_type                    application/json;

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information