-
Notifications
You must be signed in to change notification settings - Fork 34
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
panic when trying modified example Caddyfile #4
Comments
@csarn , thank you for the issue. I will respond in full when I get off mobile. Meanwhile, please try this and see the diff.
|
Thanks for the quick reply!
Is my first configuration still indicating a bug? I guess an error message would be better than a panic, so I'll leave this open :) |
I think this is the intended behavior. There is no way for the plugin instance to know if it is the only one in the config. Further, the plugin instance also does not know about any other parts of the config, because it is being isolated by design. Thus, the |
@csarn , also use |
I tried out running this with a modified caddyfile:
I downloaded caddy from the official homepage with your two plugins enabled (and with lego-deprecated, if that is important), and ran it.
When loading http://localhost:8080/auth in a browser, I get a login screen. But when loading http://localhost:8080, I get a panic: exception.txt
I need that different caddyfile structure because I want to use wildcard certificates.
Is there something I'm doing wrong or is this a bug in authp?
The text was updated successfully, but these errors were encountered: