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

Is there a global option to enable WAF by default for every site of a single Caddy instance? #196

Closed
Tryanks opened this issue Jan 20, 2025 · 3 comments

Comments

@Tryanks
Copy link

Tryanks commented Jan 20, 2025

Just like the TLS settings:

{  
    auto_https on  
    email [email protected]  
}  
@jcchavezs
Copy link
Member

I guess for that we would need WAF to be a first class for Caddy, any idea @mholt

@mholt
Copy link

mholt commented Jan 23, 2025

IIRC and this is an HTTP handler plugin, no, there's not a way to apply it to all HTTP servers in the Caddyfile without using import. You can do something like this in JSON config though.

@Tryanks
Copy link
Author

Tryanks commented Feb 5, 2025

I believe this issue falls under 'won’t fix', so I'm closing it. Thank you both for your responses!

@Tryanks Tryanks closed this as completed Feb 5, 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

3 participants