Discover Centmin Mod 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

    57
    16
    8
    Jun 26, 2014
    Barrow-in-Furness, Cumbria, England
    Ratings:
    +20
    Local Time:
    11:07 AM
    nginx/1.9.11
    10.1.11
    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

    30,170
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,138
    Local Time:
    8:07 PM
    Nginx 1.13.x
    MariaDB 5.5
    Last edited: Apr 13, 2015
  3. eva2000

    eva2000 Administrator Staff Member

    30,170
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,138
    Local Time:
    8:07 PM
    Nginx 1.13.x
    MariaDB 5.5