summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-09-29 17:08:56 +0200
committerLibravatar GitHub <noreply@github.com>2022-09-29 17:08:56 +0200
commitf0bf69d4d037351ea68caf17c35b111db3891a43 (patch)
tree30572ffe067061437627f7b68d012a54291885c7 /docs/configuration
parent[chore] Update go swagger version in dockerfile (#867) (diff)
downloadgotosocial-f0bf69d4d037351ea68caf17c35b111db3891a43.tar.xz
[chore] Add ipv6 localhost to trusted proxies by default (#868)
* add ipv6 localhost to trusted proxies by default * test different trusted proxies
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/general.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/configuration/general.md b/docs/configuration/general.md
index df53e42c2..be6ba3055 100644
--- a/docs/configuration/general.md
+++ b/docs/configuration/general.md
@@ -77,7 +77,8 @@ port: 8080
# If you're running inside a Docker container behind Traefik or Nginx, for example, add the subnet of your docker network,
# or the gateway of the docker network, and/or the address of the reverse proxy (if it's not running on the host network).
# Example: ["127.0.0.1/32", "172.20.0.1"]
-# Default: ["127.0.0.1/32"] (localhost)
+# Default: ["127.0.0.1/32", "::1"] (localhost ipv4 + ipv6)
trusted-proxies:
- "127.0.0.1/32"
+ - "::1"
```