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

caddy reload doesn't reload the coraza config or reevaulate rules #188

Closed
prologic opened this issue Jan 4, 2025 · 1 comment
Closed

Comments

@prologic
Copy link

prologic commented Jan 4, 2025

Whenever I do a caddy reload, this plugin doesn't actually seem to reload and re-evaulate the rules.

I have to instead restart caddy entirely.

I know there's a unit test for this, but this isn't working in practise.

@prologic
Copy link
Author

prologic commented Jan 4, 2025

Nevermind. Worked out why. The actual Caddyfile config isn't actually changing, but other module configuration file(s) are. So you have to use the --force flag. Sorry for the noise!

@prologic prologic closed this as completed Jan 4, 2025
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