Info

Server software versions are visible

The short version

Remove version numbers from Server and X-Powered-By headers.

What it means

Headers such as Server: Apache/2.4.41 or X-Powered-By: PHP/8.1.2 tell anyone who asks exactly which software and version your site runs. The detail lists the headers we saw.

Why it matters

This is information, not a failure: hiding versions doesn't fix outdated software. But version strings make it trivial for automated scanners to match your site to known vulnerabilities, and they reveal more about your setup than visitors need. Removing them is a one-line change.

How to fix it

Nginx

server_tokens off; in the http block removes the version from Server.

Apache

ServerTokens Prod and ServerSignature Off in the main configuration.

PHP

expose_php = Off in php.ini removes X-Powered-By.

Express and other frameworks

app.disable("x-powered-by") in Express; most frameworks have a similar setting. Behind a CDN you can also strip the headers with a response header rule.

Keep the software itself up to date; that is what actually protects the site.

Check it worked

Run the HTTP and security headers check again. The Server and X-Powered-By rows should show no version number, and the finding should be gone.