That solution requires the commercial version of nginx, not the open source one. The simple solution to use that without interfering with the Docker install is to get that version of nginx as a proxy for your Discourse and to use the IP address rewriter to create the X-Forwarded-For header.
elijah
(Eli the Bearded)
18
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| IP logging on my site | 5 | 1217 | November 16, 2020 | |
| How to disable logging IP address? | 3 | 2087 | February 12, 2023 | |
| Privacy feature request: disabling or hashing logs (using cryptolog or similar) | 4 | 2333 | January 14, 2017 | |
| 429 Too Many Requests - IP logs disabled - discourse can see 127.0.0.1 only | 1 | 683 | March 9, 2022 | |
| Using Discourse without IP logins | 0 | 99 | June 8, 2025 |