From 3da521a58663f94b6e6a74d6d91d72a8e9fa7a73 Mon Sep 17 00:00:00 2001
From: Audun Larsen <larsen@xqus.com>
Date: Fri, 19 May 2017 20:55:15 +0200
Subject: [PATCH] Adds better documentation to LOCAL_DOMAIN and LOCAL_HTTPS
 (#3149)

Fixes #2254
---
 .env.production.sample | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.env.production.sample b/.env.production.sample
index 87bd093a7..257d35f05 100644
--- a/.env.production.sample
+++ b/.env.production.sample
@@ -10,7 +10,9 @@ DB_PASS=
 DB_PORT=5432
 
 # Federation
-LOCAL_DOMAIN=example.com
+# Note: Changing LOCAL_DOMAIN or LOCAL_HTTPS at a later time will cause unwanted side effects.
+# LOCAL_DOMAIN should *NOT* contain the protocol part of the domain e.g https://example.com.
+LOCAL_DOMAIN=example.com 
 LOCAL_HTTPS=true
 
 # Use this only if you need to run mastodon on a different domain than the one used for federation.
-- 
GitLab