Facing weird problem with NodeBB
-
I setup NodeBB on my DigitalOcean VPS successfully. When I access NodeBB with IP and port its working properly. I used nginx reverse proxy to route to my domain. When I access with domain name NodeBB not loading properly. ie When I click anything like login or register just stays on that page without redirecting. Pls help , I am new to NodeBB
-
Can you paste your nginx configuration please?
-
@psychobunny Here's my nginx configuration . I placed it in /etc/nginx/conf.d/
server {
listen 80;server_name community.learn2crack.com; 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:4567/; proxy_redirect off; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; }
-
Hmm I don't see anything wrong (I'm assuming you forgot to paste the closing
}
at the end? because you're missing it above). I'm getting a 502 on community.learn2crack.com btw, the site doesn't even seem to load -
I made it offline. Now Its up. But Still the same. Not loading properly. Now visit community.learn2crack.com . I made it online .
-
I'm actually not having any problem on your site at all, all the pages work fine for me Maybe try clearing your browser's cache?
EDIT: oops, @julian posted a second before me
-
@psychobunny Thank you
-
Typically, when we run into this set of problems:
- User can't access site
- Other people can
It's usually a problem with your ISP blocking web socket connections for one reason or another. Usually, switching to HTTPS fixes it, since WSS is better supported (though WS has fairly widespread adoption).
Not sure if this is your problem, though.
-
Could you open your console (press F12) and paste any error messages that show up, if any?
-
@psychobunny
The error message -
Weird. At least when I was on I wasn't getting any error messages (and it was working just fine). Your site is 502 again I guess it's down. Maybe send me a chat next time we're both online and we can try and figure out what's going on.