Skip to content

IPRESTRICT_IGNORE_PATHS environment variable feature#62

Open
francislance wants to merge 6 commits intomuccg:masterfrom
francislance:master
Open

IPRESTRICT_IGNORE_PATHS environment variable feature#62
francislance wants to merge 6 commits intomuccg:masterfrom
francislance:master

Conversation

@francislance
Copy link
Copy Markdown

Added a feature so that users can use the IP restrict with:

IPRESTRICT_IGNORE_PATHS: "/healthz,/metrics,/etc..."

This is helpful so that those paths wont go through DB reads hence monitoring won't impact performance of DB. I have tested and this works well on my use case.

The IPRESTRICT_IGNORE_PATHS environment just need to be created by the implementor in their own projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant