Commit be9cf47e authored by rinpatch's avatar rinpatch

Removed a false statement

About not needing to do anything if the instance was
set up after September 2019. The nginx config fix has not made it into the stable branch yet.
parent f584e60c
Pipeline #22236 passed with stages
in 1 minute and 36 seconds
......@@ -10,7 +10,7 @@ authors: ["rinpatch"]
Since then a [Remote IP plug](https://docs-develop.pleroma.social/backend/configuration/cheatsheet/#pleromaplugsremoteip) was added to get the real IP from headers, but wasn't enabled by default because the default nginx config didn't forward the header and allowed spoofing it.
If you use any other reverse proxy we officially support other than nginx, or set up the instance after September 2019, no action is required on your part. Otherwise add the following to your `location /` block:
If you use any other reverse proxy we officially support other than nginx, no action is required on your part. Otherwise add the following to your `location /` block:
```
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
......@@ -24,3 +24,5 @@ config :pleroma, Pleroma.Plugs.RemoteIp, enabled: false
config :pleroma, :rate_limit, nil
```
**EDIT 2020-01-26T22:34:57Z:** Removed a statement about not needing to do anything if the instance was set up after September 2019. The nginx config fix has not made it into the stable branch yet.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment