Server
ResponseActiveThe Server header identifies the software handling the request. Common values: nginx/1.24.0, Apache/2.4.57, cloudflare, Microsoft-IIS/10.0. Security best practice is to suppress or obscure Server values – advertising the exact software version helps attackers target known CVEs. Many WAFs strip or replace this header.
Description
Server describes the origin server software. It was historically used for browser compatibility detection and telemetry. Modern security guidance recommends minimizing the Server header: either suppress it entirely or return a generic value like 'server: cloudflare'. Version numbers in Server headers have directly contributed to targeted exploitation of known vulnerabilities. Nginx can be configured with server_tokens off; Apache with ServerTokens Prod.
Examples
Server: nginx/1.24.0 (Ubuntu)Server: nginx# nginx.conf:
server_tokens off;
# Result: Server: nginx (no version)