Stop exposing exact software version numbers to automated vulnerability scanners.
Step-by-Step Instructions
- Add server_tokens off; inside the http block of /etc/nginx/nginx.conf.
- Set expose_php = Off inside php.ini.
- Reload Nginx and PHP-FPM.
server_tokens off;
# In php.ini:
expose_php = OffPro Tip: Verify headers using curl -I https://yourdomain.pk.
Need assistance? Open a ticket in the A1 Client Area or contact our 24/7 NOC Engineering Team on WhatsApp at +1 (406) 229-9597.