Kavach

Fix · Caddy

Fix “Software version disclosure” on Caddy

Suppress or genericise the Server header and remove X-Powered-By at the web-server/framework level.

# Caddy does not leak versions by default. Remove any
# custom header directive that re-adds Server/X-Powered-By.

Verify the fix

Re-run the Software version disclosure check after deploying. Test config changes in staging first and keep a rollback: a wrong header can break a site faster than a missing one.

Other stacks: nginx · Apache · Express / Node · Cloudflare

Scan your site free → Monitor it continuously