From 19aaffeb23c6f6838e1afebd975a49ff0fbf1ab8 Mon Sep 17 00:00:00 2001
From: Paul van Tilburg <paul@luon.net>
Date: Fri, 16 Apr 2021 22:11:07 +0200
Subject: [PATCH] Change the default port (follows DEPLOY.md)

---
 debian/README.Debian | 8 ++++----
 debian/templates     | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/README.Debian b/debian/README.Debian
index 22416cfb9..5f63b5cb1 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -19,10 +19,10 @@ The package uses the matrix-conduit.service systemd unit file to start and
 stop Conduit. It loads the configuration file mentioned above to set up the
 environment before running the server.
 
-This package assumes by default that Conduit is placed behind a reverse proxy
-such as Apache or nginx. This default deployment entails just listening on
-127.0.0.1 and the free port 14004 and is reachable via a client using the URL
-http://localhost:14004.
+This package assumes by default that Conduit will be placed behind a reverse
+proxy such as Apache or nginx. This default deployment entails just listening
+on 127.0.0.1 and the free port 6167 and is reachable via a client using the URL
+http://localhost:6167.
 
 At a later stage this packaging may support also setting up TLS and running
 stand-alone.  In this case, however, you need to set up some certificates and
diff --git a/debian/templates b/debian/templates
index a408f8402..c4281ad33 100644
--- a/debian/templates
+++ b/debian/templates
@@ -16,6 +16,6 @@ Description: The listen address of the Matrix homeserver
 
 Template: matrix-conduit/port
 Type: string
-Default: 14004
+Default: 6167
 Description: The port of the Matrix homeserver
  This port is most often just accessed by a reverse proxy.
-- 
GitLab