src.nth.io/

summaryrefslogtreecommitdiff
path: root/pleroma/otp/defaults
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-07-31 14:31:51 -0500
committerLuke Hoersten <[email protected]>2026-07-31 14:31:51 -0500
commit24f089781c548ad6e4c9e5b3c364e37b8a8a59bb (patch)
tree2d049716cfaa67772f83ac9a03ebddef8c65fb88 /pleroma/otp/defaults
parenta9a87f70f787fbc0d47d7138996e31294f172bea (diff)
pleroma/otp: proxy to 127.0.0.1 instead of localhost
nginx expands localhost to [::1] too, but the endpoint binds only 127.0.0.1, so every request burned a refused ipv6 connect first and flooded the error log.
Diffstat (limited to 'pleroma/otp/defaults')
-rw-r--r--pleroma/otp/defaults/main.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/pleroma/otp/defaults/main.yaml b/pleroma/otp/defaults/main.yaml
index 827661e..c7047af 100644
--- a/pleroma/otp/defaults/main.yaml
+++ b/pleroma/otp/defaults/main.yaml
@@ -1,6 +1,9 @@
---
-pleroma_host: "localhost"
+# 127.0.0.1, not localhost: nginx expands localhost to [::1] too, but the
+# endpoint binds only 127.0.0.1 (config.exs), so every request first burns a
+# refused ipv6 connect and floods the error log.
+pleroma_host: "127.0.0.1"
pleroma_port: 4000
pleroma_metrics_port: 4020
pleroma_scheme: "http"