Join the community today
Become a Member

Nginx Removing server header?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Liam W, Apr 12, 2015.

  1. Liam W

    Liam W Member

    62
    17
    8
    Jun 26, 2014
    United Kingdom
    Ratings:
    +22
    Local Time:
    8:17 AM
    nginx
    10.3.x
    How would I remove the server header?

    I added the following line to my nginx.conf file, but it hasn't worked (at least fully)...

    Code:
    more_clear_headers 'Server'
    
    Any ideas?

    Liam
     
  2. eva2000

    eva2000 Administrator Staff Member

    42,783
    9,684
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,944
    Local Time:
    6:17 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Last edited: Apr 13, 2015
  3. eva2000

    eva2000 Administrator Staff Member

    42,783
    9,684
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,944
    Local Time:
    6:17 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x