@teh_g I changed the nginx configuration to what is displayed in the docs, which now works. Nginx is working fine and im using Node v.8.2.1 - I've tried using 6.11.2 which didn't work for me at all. It wouldn't let me use the npm install --production command without crashing, which 8.2.1 will.
Cannot Login to nodebb: "Welcome back guest"
@pitaj Right now I can't, as I cannot login to the forum in any browser I have. is there a CLI-way to do it?
./nodebb reset -p
@pitaj Thanks, I ran
reset -pand then
build. No change...
@pitaj I ran
./nodebb reset -aand
./nodebb build, and still no change. I did copy the redis db and /public folder before upgrading earlier, so perhaps I'm in for a re-install. Wish I knew what was going on.
I had the same problem.
- Cloudflare with https rule for forcing https,
- Nginx mainline version has proxy_pass
Solved by changing on Nginx configuration proxy_pass :
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Proto https;
Don't understand why it suddently worked with this
sivy last edited by sivy
@arnaudw IT WORKED
Thank you so much. Still figuring things out with nginx, and I don't know that I ever would have figured this out.
mod feel free to close
If someone have an idea about this, i would love to understand...
I was in https since beggining
@arnaudw I suspect that there was an issue with the proxy messing with how nodebb was interpreting session ids, but I wouldn't know how to be more specific.
@sivy Indeed but what ?
TaLoche last edited by
arnaudw's solution worked for me, though for apache the command is
RequestHeader set X-Forwarded-Proto "https"
Thanks so much for the fix - I also don't understand this, but believe it has to do with a recent update to nodebb since my login was working in v1.16.0 and I updated to v1.16.2