-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
httpcaddyfile: Make global options pluggable #3265
httpcaddyfile: Make global options pluggable #3265
Conversation
Cool! I'm surprised this works 🤔 Will look at this more after 2.0! (Edit: Thanks for the test case too.) |
313bd56
to
048c275
Compare
ab383be
to
8f769de
Compare
I'd like if we could merge this one earlier rather than later, useful for plugin authors and it would avoid merge conflicts to merge earlier if anything else needs to add/change global options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@francislavoie I made a merge conflict. Sorry. 😇
Co-Authored-By: Dave Henderson <dhenderson@gmail.com>
8f769de
to
514be72
Compare
Fixed 👍 |
This is a refactor to make global options be registerable like Caddyfile directives.
It makes it possible for plugins/modules to add their own global options if their configuration doesn't make sense to be inside a server block.
The only functional change here should be the error messages.