WordPress specific Caddy configurations, tips and tricks.
TODO
If you'd like to include something else, create a pull request.
ToBeFilled
- HSTS support.
- Security headers to fit most sites (no CSP).
- Hidden and backup files are forbidden by default. If any pattern is missing, please send a pull-request.
Tested with the following servers...
- Ubuntu 20.04 LTS (Noble Numbat)
- Ubuntu 22.04 LTS (Jammy Jellyfish)
- Debian 12 (Bookworm)
Tested with the following Caddy versions...
- version 2.10.0 and above
If you have a free server to spare for testing, please contact me. Thank you.
A dedicated repo is coming soon!
- I specialize in hosting (high-traffic) WordPress / PHP sites.
- I'm one of the top contributors for the tag Nginx in ServerFault.
- Have released couple of WordPress Plugins, one of them is specifically for high performance WordPress sites... https://profiles.wordpress.org/pothi#content-plugins.
- Have two active blogs... Tiny WordPress Insights and Tiny Web Performance Insights.
Yes. I offer paid support and can implement it on your server. Minimum fee is USD50. Please shoot me an email.
Please ping me on Twitter or send me a message.
If you find this repo useful, please spread the word! Suggestions, discussion on best practices, bug reports, future requests, forks are always welcome!