I installed a new forum on a heroku server and when I connect via myapp.herokuapp.com it works great
But when I connect through my domain it is written to me "welcome back guest" but really stayed disconnected
(I only use a subdomain, at the domain root I use for another site, I use cloudflare I set ssl and force ssl)
I would be happy to help, thanks
We have a lot of custom emojis on nodebb.
Sometines, we have emojis not loading properly, sometimes they load correctly after on refresh or several
I think about a problem of nginx conf maybe, or cache, or Cloudflare but i’m not sure and I don’t know with what to begin my research
An idea about that ?
- nodebb 2.8.9 with redis scaling
- nodebb-plugin-emoji 4.0.6
Thanks in advance
hmmm I just use nodebb scaling with redis like the documentation : https://docs.nodebb.org/configuring/scaling/
But we suffered DDOS attack some time ago and I had set rate limit in nginx when it happened with crowdsec and crowdsec on cloudflare
Maybe this is what created 503 errors with CloudFlare
I will pursue this idea further on my side. I think it's a good track and I'll be back tomorrow
Yep, same idea here.
The emoji plugin does load a lot of separate assets, especially when you open the menu.
Exactly, when we open the menu, WE have a lot of request and my rate limit block.
–> I delete all rate config on my nginx configuration and it seems to be better now.
But it bothers me, I would have liked to keep nginx protection against flood/ddos attacks with nodebb.
Need to find the right setting.
If nodeBB staff have idea, I take
@DownPW of you're not already serving static assets with nginx, I'd recommend doing that. You should be able to set a separate rate limit for that while still protecting NodeBB.
It may also be possible to whitelist cloudflare so it can bypass the rate limit.