From 24f089781c548ad6e4c9e5b3c364e37b8a8a59bb Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Fri, 31 Jul 2026 14:31:51 -0500 Subject: 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. --- pleroma/otp/defaults/main.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pleroma/otp') 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" -- cgit v1.2.3