Changes

Jump to navigation Jump to search
88 bytes added ,  16:20, 16 February 2023
Line 57: Line 57:  
Set up a domain.
 
Set up a domain.
   −
  db domains set matrix.mydomain.com domain\
+
  db domains set matrix.mydomain.net domain\
 
     Content Primary\
 
     Content Primary\
 
     Description Matrix\
 
     Description Matrix\
Line 81: Line 81:  
  $OUT .=<<_EVERYWHERE;
 
  $OUT .=<<_EVERYWHERE;
 
  <VirtualHost 0.0.0.0:80>
 
  <VirtualHost 0.0.0.0:80>
     ServerName matrix.sovereigninsignia.com
+
     ServerName matrix.mydomain.net
 
     DocumentRoot /home/e-smith/files/ibays/Primary/html
 
     DocumentRoot /home/e-smith/files/ibays/Primary/html
 
     RewriteEngine on
 
     RewriteEngine on
Line 94: Line 94:  
  <VirtualHost 0.0.0.0:8448>
 
  <VirtualHost 0.0.0.0:8448>
 
     SSLEngine on
 
     SSLEngine on
     ServerName matrix.sovereigninsignia.com
+
     ServerName matrix.mydomain.net
 
     RequestHeader set "X-Forwarded-Proto" "https"
 
     RequestHeader set "X-Forwarded-Proto" "https"
 
     AllowEncodedSlashes NoDecode
 
     AllowEncodedSlashes NoDecode
Line 107: Line 107:  
  <VirtualHost 0.0.0.0:443>
 
  <VirtualHost 0.0.0.0:443>
 
     SSLEngine on
 
     SSLEngine on
     ServerName matrix.sovereigninsignia.com
+
     ServerName matrix.mydomain.net
 
     ProxyPass /.well-known/acme-challenge/ !
 
     ProxyPass /.well-known/acme-challenge/ !
 
     DocumentRoot /home/e-smith/files/ibays/Primary/html
 
     DocumentRoot /home/e-smith/files/ibays/Primary/html
Line 136: Line 136:  
  version: '2.3'
 
  version: '2.3'
 
  services:
 
  services:
  element:
+
# Hmmm - desktop app should not be run on the same server as matrix
    image: vectorim/element-web:latest
+
# https://hub.docker.com/r/vectorim/element-web/
    restart: unless-stopped
+
# element:
    volumes:
+
image: vectorim/element-web:latest
      - ./element-config.json:/app/config.json
+
restart: unless-stopped
 +
volumes:
 +
#    - ./element-config.json:/app/config.json
 
   synapse:
 
   synapse:
 
     container_name: synapse
 
     container_name: synapse
Line 148: Line 150:  
       - ./data:/data
 
       - ./data:/data
 
     environment:
 
     environment:
         SYNAPSE_SERVER_NAME: "matrix.sovereigninsignia.com"
+
         SYNAPSE_SERVER_NAME: "matrix.mydomain.net"
 
         SYNAPSE_REPORT_STATS: "yes"
 
         SYNAPSE_REPORT_STATS: "yes"
 
     ports:
 
     ports:

Navigation menu