隐藏X-Powered-By(nginx) [英] Hide X-Powered-By (nginx)
本文介绍了隐藏X-Powered-By(nginx)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
那么有什么方法可以在Nginx上隐藏X-Powered-By吗?
So is there any way to hide X-Powered-By on Nginx?
推荐答案
x-powered-by由模块提供,例如php fastcgi模块提供设置expose_php=Off
在php.ini中
x-powered-by is given by the module, for instance php fastcgi module offers to set expose_php=Off
in php.ini
这篇关于隐藏X-Powered-By(nginx)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文