Comment on [PSA] Watch for the antiyanks troll and consider adjusting your rate limits

<- View Parent
admiralpatrick@lemmy.world ⁨2⁩ ⁨days⁩ ago

Yeah, you are setting it, but that’s assuming the variable $proxy_add_x_forwarded_for has the correct IP. But the config itself is correct.

Do you have a separate location block for /api by chance, and is the proxy_set_header directive set there, too? Unless I’m mistaken, location blocks don’t inherit that from the / location.

source
Sort:hotnewtop