Frequent nginx rate limiting with nginx also on the host

Have you checked your discourse install to see what IP it shows you as visiting from?