How to disable HTTP Server header in nginx ?
Issue
Due to a security requirement, we need to switch off any Version Header coming from nginx.
Environment
- nginx 1.18, 1.20
- Red Hat Enterprise Linux (RHEL) 8/9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.