Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: option block requests if "secret" is not present #9

Open
Esardes opened this issue Aug 10, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@Esardes
Copy link

Esardes commented Aug 10, 2023

thanks for this very useful plugin

1/ would you consider the mentioned request? In your examples you call the header X-From-Cdn, and I would want to block (403?) at plugin level any request that doesn't contain the right value (as a way to guarantee the requests handled only come through Cloudflare/other)

2/ would you consider the plugin to be the best place to optionally "erase" said secret from the request (so that systems behind traefik don't see a difference), or would you rather have us use another middleware to remove it if we want to?

@Paxxs Paxxs added the enhancement New feature or request label Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants