Header IP
-
Not a bug as I cannot recreate this on here, but on two of my nodebb instances the Recently logged IP parameter in the profile page is showing my localhost IP.
Running ubuntu 14.04, nginx 1.6 and my nginx directives are setup correctly. Funnily enough my access log file (generated by nginx) is correctly showing the client IP so it's passing through in the header BUT node bb is not displaying it correctly.
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;proxy_pass http://127.0.0.1:4568/;
proxy_redirect off;Socket.IO Support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}Which module is nodebb is reading the IP in the header? Will have a look.
-
-