Skip to content

Commit

Permalink
Add additional documentation and warnings to the WEB_DOMAIN setting. (#…
Browse files Browse the repository at this point in the history
…2386)

* Add additional documentation and warnings to the WEB_DOMAIN setting.

This feature is largely undocumented, and quite a number of users have
shot them in the feet already despite the warning. Added a bit of documentation
and expanded the warning until we have a mechanism for dealing with conflicting
user URIs.

* Change WEB_DOMAIN comments to point to the extensive online documentation
  • Loading branch information
ClearlyClaire authored and Gargron committed May 5, 2017
1 parent 8158477 commit 4d22d03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .env.production.sample
Expand Up @@ -14,7 +14,8 @@ 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.
# Do not use this unless you know exactly what you are doing.
# You can read more about this option on https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Serving_a_different_domain.md
# DO *NOT* USE THIS UNLESS YOU KNOW *EXACTLY* WHAT YOU ARE DOING.
# WEB_DOMAIN=mastodon.example.com

# Application secrets
Expand Down

0 comments on commit 4d22d03

Please sign in to comment.