根据PHPinfo:
# grep expose_PHP /etc/PHP5/fpm -R
/etc/PHP5/fpm/PHP.ini:expose_PHP = Off
/etc/PHP5/fpm/pool.d/www.conf:PHP_flag[expose_PHP] = off
# curl -I https://MyHost.loc/i.PHP | head | grep X-Powered-By
X-Powered-By: PHP/5.5.9-1ubuntu4
有人可以在Ubuntu 14.04中确认这一点吗?
知道如何摆脱X-Powered-By?
最佳答案
原文链接:https://www.f2er.com/nginx/435345.html