aboutsummaryrefslogtreecommitdiff
path: root/installation/pleroma.nginx
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-03-08 10:38:35 +0000
committerrinpatch <rinpatch@sdf.org>2020-03-08 10:38:35 +0000
commite8493431bfc16977e43715bf8bdb09ac46580028 (patch)
tree2e1a0068583ca62870a15590c4ccba237999f51a /installation/pleroma.nginx
parent42f76306e7fe69fc51be00285a4fef8569f54989 (diff)
parente7c49d51d724680c1f19888ea409687733753c7b (diff)
downloadpleroma-2.0.0.tar.gz
Merge branch 'release/2.0.0' into 'stable'v2.0.0
Release/2.0.0 See merge request pleroma/pleroma!2273
Diffstat (limited to 'installation/pleroma.nginx')
-rw-r--r--installation/pleroma.nginx1
1 files changed, 1 insertions, 0 deletions
diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx
index 4da9918ca..7f48b614b 100644
--- a/installation/pleroma.nginx
+++ b/installation/pleroma.nginx
@@ -70,6 +70,7 @@ server {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# this is explicitly IPv4 since Pleroma.Web.Endpoint binds on IPv4 only
# and `localhost.` resolves to [::0] on some systems: see issue #930