Add remote_ip plug
This commit is contained in:
parent
92d08d4113
commit
f9380289eb
10 changed files with 187 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue