<% if node['tomcat']['base_version'].to_i < 7 -%>
<% end -%>
<% if @port -%>
proxyPort="<%= @proxy_port %>"
<% end -%>
<% if @max_threads -%>
maxThreads="<%= @max_threads %>"
<% end -%>
<% if @ssl_port -%>
redirectPort="<%= @ssl_port %>"
<% end -%>
/>
<% end -%>
<% if @ssl_port -%>
proxyPort="<%= @ssl_proxy_port %>"
<% end -%>
keystoreFile="<%= @config_dir %>/<%= @keystore_file %>"
keystorePass="<%= node['tomcat']['keystore_password'] %>"
keystoreType="<%= @keystore_type %>"
truststorePass="<%= node['tomcat']['keystore_password'] %>"
maxThreads="<%= @ssl_max_threads %>" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
<% end -%>
<% if @ajp_port -%>
<% end -%>
jvmRoute="<%= node['tomcat']['jvm_route'] %>"<% end %>>
xmlValidation="false" xmlNamespaceAware="false"
<% end -%>
>