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: allow specifying default options #934

Open
Kamilcuk opened this issue Aug 3, 2023 · 0 comments
Open

Feature request: allow specifying default options #934

Kamilcuk opened this issue Aug 3, 2023 · 0 comments

Comments

@Kamilcuk
Copy link
Contributor

Kamilcuk commented Aug 3, 2023

In my server configuration, everything should be protected by auth=kamil and only accessible from specific ip address allow=ip:myip. Would be great, if I would be able to set route add defaults auth=kamil allow=ip:myip in the route config or inside configuration like route.opts.defaults="auth=kamil allow=ip:myip", so that it would be applied by default on all the routes except when nullified auth= allow=. Thanks for making fabio, it is great.

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

No branches or pull requests

1 participant