How to hide server header banner in nginx ?
If you are using NGINX server for your application it might be possible that your server is showing all the details regarding version, build etc. which help attackers or hackers to grab the information of there target. To hide your server header signature follow these instructions-:
open /etc/apache2/apache2.conf (for UBUNTU or DEBIAN based)
open /etc/httpd/conf/httpd.conf (for CENTOS or RPM based)
"ServerSignature Off" "ServerTokens Prod"
after adding these headers restart your apache server