Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

Add exclude ip in nginx config #2539

Open
mohammadranjbarz opened this issue Sep 13, 2021 · 1 comment
Open

Add exclude ip in nginx config #2539

mohammadranjbarz opened this issue Sep 13, 2021 · 1 comment
Assignees

Comments

@mohammadranjbarz
Copy link
Collaborator

mohammadranjbarz commented Sep 13, 2021

related to Giveth/feathers-giveth#610

@mohammadranjbarz mohammadranjbarz self-assigned this Sep 13, 2021
@mohammadranjbarz
Copy link
Collaborator Author

@aminlatifi
I've tried to do as these ways

https://serverfault.com/questions/177461/how-to-rate-limit-in-nginx-but-including-excluding-certain-ip-addresses

https://www.nginx.com/blog/rate-limiting-nginx

but I got below errors after reloading Nginx, could you help me? ( I don't have strong experience in Nginx)

nginx: [emerg] unknown directive "$whitelist" in ....

nginx: [emerg] unknown directive "$limit" in ....

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant