-
Notifications
You must be signed in to change notification settings - Fork 240
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
Support Caddy2 caddyfile #79
Conversation
Thank you!! I will take a look at this shortly. |
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.
Alkrighty, thanks for working on this! I just did a quick first pass. Hopefully this is fine so far!
This reverts commit f01c163.
Updated per review. |
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.
Thanks! This is looking better!
I just realized this file is using the wrong logger (my bad), let's update that then merge this in and see about cutting an initial release.
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.
Awesome, thanks! (And we can refine/improve the logs later.)
Appreciate your help!
My users like to use Caddyfile very much so here I make it useable.
I couldn't make the test to work. The test would be copied from https://github.com/caddyserver/forwardproxy/blob/master/setup_test.go and changed to use NewTestDispenser but I always get
./forwardproxy_test.go:436:7: undefined: NewTestDispenser
in go test.