> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# web-server-version-exposed

> An Nginx or Apache config explicitly adds the server version to response headers.

## What it flags

An explicit Nginx `server_tokens on;` or an Apache `ServerTokens` value of `Full`, `OS`, `Minor`, `Min` or `Minimal`, which add the exact server version to the `Server` header and error pages. Leaving the directive out is not reported. Impact is low: hiding the version slows down matching the server to known vulnerabilities but does not fix them.

```nginx theme={null}
server_tokens off;
```

No automatic fix: a human decides.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "web-server-version-exposed": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.