I can hide Nginx version by using server_tokens option set to off. But not able to change the Nginx Server signature.
Steps I did,
1.) Change the Nginx serve
Go to nginx conf and switch off server_tokens.
/etc/nginx/nginx.conf server_tokens off;