Skip to content

docs.jenkins.io nginx configuration leaks the nginx version #4938

@PierreBtz

Description

@PierreBtz

Service(s)

docs.jenkins.io

Summary

The current configuration of nginx for docs.jenkins.io should be modified to avoid leaking the nginx version.
Not opening as a security issue since it appears the version is up to date but that could become a problem is the project diverges.

Reproduction steps

  1. Access a non existing page: https://docs.jenkins.io/toto/
  2. Observe the nginx version being returned

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions