[Solved] HTTPS behind Nginx proxy, "logged ip's" == 127.0.0.1?
So I setup NodeBB to run behind an Nginx proxy to allow site-wide HTTPS, and allow omitting of port 4567 in the URL.
Because of this, "Recently Logged In IPs" is always 127.0.0.1 Which makes sense to me. However I noticed community.nodebb.org is all HTTPS, yet it will show the actual IP I logged in from.
Is it possible to show the real logged-in IP while running behind an Nginx proxy?
mootzville last edited by
Maybe this will help:
Set the proxy_pass in nginx config to be the IP address of the server. using localhost can cause issues. Also, make sure your base_url in config.json is the same as it is for server_name in nginx.
@a_5mith That worked! Thank you so much!