Learn about Centmin Mod LEMP Stack today
Register Now

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:
    11:37 PM
    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

    45,243
    10,285
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,942
    Local Time:
    8:37 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Last edited: Apr 13, 2015
  3. eva2000

    eva2000 Administrator Staff Member

    45,243
    10,285
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,942
    Local Time:
    8:37 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x