I have set this directive:
#replaces server information
more_set_headers 'Server: my-server';
nginx -t is fine but it doesn’t do anything…
i.e.
curl -I www.ict-consult.co.za
HTTP/1.1 200 OK
Server: nginx
Date: Sun, 13 Apr 2014 13:14:20 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
X-Pingback: http://www.ict-consult.co.za/xmlrpc.php
Link: ; rel=shortlink
Fastcgi-Cache: MISS
Strict-Transport-Security: max-age=31536000; includeSubdomains;
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
X-Page-Speed: 1.7.30.3-3721
Cache-Control: max-age=0, no-cache