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
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| IP logging on my site | 5 | 1217 | 2020 年11 月 16 日 | |
| How to disable logging IP address? | 3 | 2087 | 2023 年2 月 12 日 | |
| Privacy feature request: disabling or hashing logs (using cryptolog or similar) | 4 | 2333 | 2017 年1 月 14 日 | |
| 429 Too Many Requests - IP logs disabled - discourse can see 127.0.0.1 only | 1 | 683 | 2022 年3 月 9 日 | |
| Using Discourse without IP logins | 0 | 99 | 2025 年6 月 8 日 |