diff options
| author | Luke Hoersten <[email protected]> | 2026-07-31 14:31:51 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-07-31 14:31:51 -0500 |
| commit | 24f089781c548ad6e4c9e5b3c364e37b8a8a59bb (patch) | |
| tree | 2d049716cfaa67772f83ac9a03ebddef8c65fb88 | |
| parent | a9a87f70f787fbc0d47d7138996e31294f172bea (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.
| -rw-r--r-- | pleroma/otp/defaults/main.yaml | 5 |
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" |
