Nginx - hide server version and info for production use

If you want to use Nginx in production use (for a website, etc.), then please add the following Nginx settings.

vim /etc/nginx/nginx.conf

Change server_tokens to this value:

server_tokens off;

Add also this to the nginx.conf file

more_set_headers 'Server: Web server';