Hide nginx version on CentOS

modify nginx.conf

add the following in to http { }

http {

    server_tokens off;

}