Edit the Apache2 configuration security file:
sudo vi /etc/apache2/conf-available/security.conf
Add or edit the following lines and save:
ServerTokens Prod ServerSignature Off TraceEnable Off Header unset ETag Header always unset X-Powered-By FileETag None
sudo service apache2 restart