http.conf 中的 修改为

ServerTokens Prod
ServerSignature Off

有的版本没有,在最后添加即可

php

php.ini 中的 修改

expose_php = Off

 

php

nginx.conf 的 http 中 添加

server_tokens off;

相关文章:

  • 2022-12-23
  • 2021-08-08
  • 2021-06-16
  • 2021-12-17
  • 2022-02-17
  • 2021-06-29
  • 2021-05-17
  • 2022-01-20
猜你喜欢
  • 2021-09-19
  • 2022-01-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案