mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-08 16:42:48 +01:00
added new FAQ entry re: Recently Logged IPs, re: https://community.nodebb.org/topic/2062/forwarding-ips-on-nginx-proxy/3, ping @a5mith
This commit is contained in:
@@ -84,6 +84,20 @@ If you are using :doc:`nginx <../configuring/proxies/nginx>` or :doc:`Apache <..
|
||||
Alternatively, edit the ``config.json`` file using your favourite text editor and change ``use_port`` to ``false``.
|
||||
|
||||
|
||||
The "Recently Logged In IPs" section only shows 127.0.0.1
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
NodeBBs running behind a proxy may have difficulties determining the original IP address that requests come from. It is important that the proxy server provides the referral IP header.
|
||||
|
||||
In nginx, ensure that the following line is present in your ``server`` block:
|
||||
|
||||
.. code:: nginx
|
||||
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
In addition, ensure that the `use_port` option is set to `false` in your NodeBB's ``config.json``
|
||||
|
||||
|
||||
Submit Bugs on our Issue Tracker
|
||||
--------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user