meta data for this page
  •  

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
digital:server:matrixsynapse [2020/07/20 21:36]
natrius Changed example.com to homeserver.example according to RFC 2606 https://tools.ietf.org/html/rfc2606#section-2
digital:server:matrixsynapse [2020/11/13 10:14]
natrius [Step 4 ] - python-certbot-nginx -> python3-certbot-nginx
Line 66: Line 66:
  
     ss -plntu     ss -plntu
- 
-#### Set up .well-known 
- 
-On your webserver a file at ''%%/.well-known/matrix/server%%'' has to be set up with the following content  
- 
-<code> 
-{ 
-    "m.server": "synapse.homeserver.example:443" 
-} 
-</code> 
- 
-Where ''/'' is the root of your webserver. So if you navigate to ''https://homeserver.example/.well-known/matrix/server'' it may try to download the ''server'' file or show it directly. 
  
 ### Step 3 - Configure Synapse ### Step 3 - Configure Synapse
Line 138: Line 126:
  
     sudo add-apt-repository ppa:certbot/certbot     sudo add-apt-repository ppa:certbot/certbot
-    sudo apt-get install certbot python-certbot-nginx+    sudo apt-get install certbot python3-certbot-nginx
  
 Generate the SSL certificate files for the matrix domain name ''homeserver.example'' using the certbot command as shown below. Generate the SSL certificate files for the matrix domain name ''homeserver.example'' using the certbot command as shown below.
Line 253: Line 241:
  
 Nginx installation and configuration as a reverse proxy for the Synapse homeserver has been completed. Nginx installation and configuration as a reverse proxy for the Synapse homeserver has been completed.
 +
 +#### Set up .well-known
 +
 +On your webserver a file at ''%%/.well-known/matrix/server%%'' has to be set up with the following content 
 +
 +<code>
 +{
 +    "m.server": "synapse.homeserver.example:443"
 +}
 +</code>
 +
 +Where ''/'' is the root of your webserver. So if you navigate to ''https://homeserver.example/.well-known/matrix/server'' it may try to download the ''server'' file or show it directly.
  
 ### (Optional) Step 6 - PostgreSQL instead of sqlite ### (Optional) Step 6 - PostgreSQL instead of sqlite