As part of the HTTP response, Resin sends its name and version number in a server header, e.g.
Server: Resin/3.0.14. Some sites prefer to change that header to a different value to hide the software version that's running the site.
To enable this, in the <server> block use
[
edit]
resin.conf
...
<server>
...
<server-header>Foo/1.0</server-header>
...
</server>
本文介绍如何在Resin服务器中修改服务器头信息以隐藏实际运行的软件版本,这对于提高网站安全性有一定帮助。通过编辑resin.conf文件内的<server>块,可以自定义显示的服务器头。
1601

被折叠的 条评论
为什么被折叠?



