nginx directives geo and map behind proxy

Francis Daly francis at
Thu Mar 21 23:11:12 UTC 2019

On Mon, Mar 18, 2019 at 09:49:05AM -0400, gogan wrote:

Hi there,

> With myracloud CF-Connecting-IP and remote_addr are set to client ip and
> real remote is myracloud ip. botlimit is set to remote_addr in general and
> to x.x.x.x if hits in geo given ip address. So far as I expected and now it
> works. I don't know why, but I have a better understanding because of your
> help, thanks!

Good that you have a working setup.

> A trifle still ... is set 
> limit_req_status 429;
> limit_conn_status 429;
> But in access.log I get 503, why?

It works for me -- I get 429 in access.log.

Can you show a small but complete config file and test requests that
demonstrate the problem?

Francis Daly        francis at

More information about the nginx mailing list