减少给别人攻击的可能性
Ubuntu
$ gedit /etc/apache2/apache2.conf
CentOS / Fedora
$ gedit /etc/httpd/conf/httpd.conf
OpenSUSE
$ gedit /etc/apache2/httpd.conf
ServerTokens Prod
ServerSignature Off
Ubuntu
$ gedit /etc/php/7.0/fpm/php.ini
CentOS /Fedora
$ gedit /etc/php.ini
OpenSUSE
$ gedit /etc/php7/cli/php.ini
expose_php = Off
Ubuntu
$ gedit /etc/apache2/apache2.conf
CentOS / Fedora
$ gedit /etc/httpd/conf/httpd.conf
OpenSUSE
$ gedit /etc/apache2/httpd.conf
ServerTokens Prod
ServerSignature Off
Ubuntu
$ gedit /etc/php/7.0/fpm/php.ini
CentOS /Fedora
$ gedit /etc/php.ini
OpenSUSE
$ gedit /etc/php7/cli/php.ini
expose_php = Off
没有评论:
发表评论