Skip to content

Tomcat安全加固 #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
johnnian opened this issue Jul 3, 2017 · 0 comments
Open

Tomcat安全加固 #10

johnnian opened this issue Jul 3, 2017 · 0 comments

Comments

@johnnian
Copy link
Owner

johnnian commented Jul 3, 2017

  1. 删除 webapps 下的所有内容
  2. 关闭 8009 端口
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
  1. 去掉关闭服务的端口
<Server port="8005" shutdown=SHUTDONWN">
改为
<Server>
  1. 隐藏Tomcat版本
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" server="1.0"/>

5、关闭war包自动解压,自动部署

<Host appBase="webapps" autoDeploy="false" name="localhost" unpackWARs="false" xmlNamespaceAware="false"
xmlValidation="false">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant