Continuing the discussion from Best free option to protect discourse from many requests:
Looks like these “too many request” errors are still coming thick and fast on my forum (and I don’t think I’m under DDOS attack):
I think the stock nginx config (the Discourse nginx instance) is overly conservative with its rate limits.
There are a lot of errors like the below in
/var/discourse/shared/standalone/log/var-log/nginx/error.log on my host:
2019/04/24 13:08:55 [error] 66#66: *2237264 limiting requests, excess: 12.592 by zone "flood", client: 172.17.0.1, server: _, request: "GET /user-badges/Cheekybecki.json?_=1556111332933 HTTP/1.0", host: "se23.life", referrer: "https://se23.life/t/cleaner-recommendations/1147?page=2"
I note the client IP is reported as
172.17.0.1 - this is Docker’s host IP (not the real client IP). Could this be the problem?