nginx被安全监测存在版本泄露,如何处理

已邀请:

解决:修改nginx的配置文件nginx.conf

在http {} 配置块中增加 

server_tokens off;  

重启nginx后 版本被隐藏  

/uploads/answer/20201216/963c691e37d8ce53c862ba7b39ac8cf7.png

要回复问题请先登录注册