How to disable HTTP Server header in nginx

Solution In Progress - Updated -

Issue

Due to a security requirement, we need to switch off any Version Header coming from nginx.

Environment

  • nginx 1.4, 1.6, or 1.8
  • Red Hat Enterprise Linux (RHEL) 7.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.