Kavach

Fix · nginx

Fix “Software version disclosure” on nginx

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

server_tokens off;

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: Apache · Caddy · Express / Node · Cloudflare

Scan your site free → Monitor it continuously