Hacker News new | ask | show | jobs
by codetrotter 1135 days ago
I recently added HAProxy in front of my PeerTube server.

Probably the config for HAProxy is set a little bit low or something.

But try again now. And then try again a little bit later if it continues to not load.

1 comments

I've had time to look a bit more now.

So when I proxy with HAProxy I was not forwarding client IP. And so Nginx and Peertube ended up thinking all connections came from same source. And this was probably leading to overly aggressive rate limiting at times.

I have now fixed parts of the configs so that now Nginx and Peertube are aware of the real client IP address.