隐藏 Nginx 服务器信息

sudo sed -i "s/# server_tokens off;/server_tokens off;/g" /etc/nginx/nginx.conf &&
  sudo service nginx restart