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

    57
    15
    8
    Jun 26, 2014
    Barrow-in-Furness, Cumbria, England
    Ratings:
    +19
    Local Time:
    5:45 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

    29,016
    6,585
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,775
    Local Time:
    2:45 PM
    Nginx 1.13.x
    MariaDB 5.5
    Last edited: Apr 13, 2015
  3. eva2000

    eva2000 Administrator Staff Member

    29,016
    6,585
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,775
    Local Time:
    2:45 PM
    Nginx 1.13.x
    MariaDB 5.5