Hide X-Powered-By (nginx)

So is there any way to hide X-Powered-By on Nginx?


Solution 1:

proxy_hide_header X-Powered-By;

Solution 2:

x-powered-by is given by the module, for instance php fastcgi module offers to set expose_php=Off in php.ini