summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorLibravatar Andrea <ajf@ajf.me>2022-12-07 21:50:37 +0100
committerLibravatar GitHub <noreply@github.com>2022-12-07 21:50:37 +0100
commit923d333823766db8bcbc746c81251cb043f7eb75 (patch)
tree8c9990acd78c47f9df0e9e3b34930795c44b8a0b /docs/configuration
parent[feature] overhaul the oidc system (#961) (diff)
downloadgotosocial-923d333823766db8bcbc746c81251cb043f7eb75.tar.xz
[docs] encourage using loopback bind address (#1166)
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/general.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/configuration/general.md b/docs/configuration/general.md
index 9f10fc790..a6f68982a 100644
--- a/docs/configuration/general.md
+++ b/docs/configuration/general.md
@@ -64,9 +64,11 @@ protocol: "https"
# String. Address to bind the GoToSocial server to.
# This can be an IPv4 address or an IPv6 address (surrounded in square brackets), or a hostname.
-# Default value will bind to all interfaces.
-# You probably won't need to change this unless you're setting GoToSocial up in some fancy way or
-# you have specific networking requirements.
+# The default value will bind to all interfaces, which makes the server
+# accessible by other machines. For most setups there is no need to change this.
+# If you are using GoToSocial in a reverse proxy setup with the proxy running on
+# the same machine, you will want to set this to "localhost" or an equivalent,
+# so that the proxy can't be bypassed.
# Examples: ["0.0.0.0", "172.128.0.16", "localhost", "[::]", "[2001:db8::fed1]"]
# Default: "0.0.0.0"
bind-address: "0.0.0.0"