So is there any way to hide X-Powered-By on Nginx?
x-powered-by is given by the module, for instance php fastcgi module offers to set expose_php=Off in php.ini
expose_php=Off