summaryrefslogtreecommitdiff
path: root/installation/pleroma.nginx
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-06-01 16:29:58 +0300
committerrinpatch <rinpatch@sdf.org>2019-06-01 16:29:58 +0300
commit65db5e9f528a3f8d8b3c81953fd160a6744dfffd (patch)
tree9da5234f8a9dd411b59e839eeb38254822939e2f /installation/pleroma.nginx
parent300d94c62829d0ec961f3ed6c0242dea102ab0ad (diff)
parentf8d4c02431aa634dc74074b93d1cb522e47056ce (diff)
downloadpleroma-65db5e9f528a3f8d8b3c81953fd160a6744dfffd.tar.gz
pleroma-65db5e9f528a3f8d8b3c81953fd160a6744dfffd.zip
Resolve merge conflicts
Diffstat (limited to 'installation/pleroma.nginx')
-rw-r--r--installation/pleroma.nginx4
1 files changed, 3 insertions, 1 deletions
diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx
index cc75d78b2..7425da33f 100644
--- a/installation/pleroma.nginx
+++ b/installation/pleroma.nginx
@@ -69,7 +69,9 @@ server {
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
- proxy_pass http://localhost:4000;
+ # this is explicitly IPv4 since Pleroma.Web.Endpoint binds on IPv4 only
+ # and `localhost.` resolves to [::0] on some systems: see issue #930
+ proxy_pass http://127.0.0.1:4000;
client_max_body_size 16m;
}