]> cat aescling's git repositories - mastodon.git/commitdiff
Adds better documentation to LOCAL_DOMAIN and LOCAL_HTTPS (#3149)
authorAudun Larsen <larsen@xqus.com>
Fri, 19 May 2017 18:55:15 +0000 (20:55 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 19 May 2017 18:55:15 +0000 (20:55 +0200)
Fixes #2254

.env.production.sample

index 87bd093a73dd44f3e4ce45f36dcf2dd0cc89a91b..257d35f051d91878e208fd6d02cb20bdcd5dc986 100644 (file)
@@ -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.