Remediation Steps
Follow the steps below to remediate this finding on Nginx webserver.
In your nginx.conf http or server block, add:
server_tokens off;This removes the version number from the Server header and error pages.
Reload Nginx:
sudo systemctl reload nginxFor complete Server header removal, use the ngx_headers_more module:
more_clear_headers Server;