forked from ISTI-ansible-roles/ansible-roles
Remove the redirections to the 8443 port from the tomcat server.xml templates. We do not configure ssl on tomcat directly, we use a reverse proxy.
This commit is contained in:
parent
a1a294669e
commit
d9052c3e65
|
@ -66,12 +66,12 @@
|
||||||
proxyName="{{ tomcat_m_reverse_proxy_name }}"
|
proxyName="{{ tomcat_m_reverse_proxy_name }}"
|
||||||
proxyPort="{{ tomcat_m_reverse_proxy_port }}"
|
proxyPort="{{ tomcat_m_reverse_proxy_port }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
redirectPort="8443" />
|
/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if item.ajp_enabled %}
|
{% if item.ajp_enabled %}
|
||||||
<!-- Define an AJP 1.3 Connector on port {{ tomcat_ajp_port }} -->
|
<!-- Define an AJP 1.3 Connector on port {{ tomcat_ajp_port }} -->
|
||||||
<Connector port="{{ item.ajp_port }}" protocol="AJP/1.3" redirectPort="8443"
|
<Connector port="{{ item.ajp_port }}" protocol="AJP/1.3"
|
||||||
enableLookups="false"
|
enableLookups="false"
|
||||||
address="{{ item.ajp_address }}"
|
address="{{ item.ajp_address }}"
|
||||||
URIEncoding="UTF-8"
|
URIEncoding="UTF-8"
|
||||||
|
|
|
@ -89,21 +89,12 @@
|
||||||
proxyName="{{ tomcat_reverse_proxy_name }}"
|
proxyName="{{ tomcat_reverse_proxy_name }}"
|
||||||
proxyPort="{{ tomcat_reverse_proxy_port }}"
|
proxyPort="{{ tomcat_reverse_proxy_port }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
redirectPort="8443" />
|
/>
|
||||||
|
|
||||||
<!-- Define a SSL HTTP/1.1 Connector on port 8443
|
|
||||||
This connector uses the JSSE configuration, when using APR, the
|
|
||||||
connector should be using the OpenSSL style configuration
|
|
||||||
described in the APR documentation -->
|
|
||||||
<!--
|
|
||||||
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
|
|
||||||
maxThreads="150" scheme="https" secure="true"
|
|
||||||
clientAuth="false" sslProtocol="TLS" />
|
|
||||||
-->
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if tomcat_ajp_enabled %}
|
{% if tomcat_ajp_enabled %}
|
||||||
<!-- Define an AJP 1.3 Connector on port {{ tomcat_ajp_port }} -->
|
<!-- Define an AJP 1.3 Connector on port {{ tomcat_ajp_port }} -->
|
||||||
<Connector port="{{ tomcat_ajp_port }}" protocol="AJP/1.3" redirectPort="8443"
|
<Connector port="{{ tomcat_ajp_port }}" protocol="AJP/1.3"
|
||||||
enableLookups="false" address="{{ tomcat_ajp_address }}"
|
enableLookups="false" address="{{ tomcat_ajp_address }}"
|
||||||
maxQueueSize="{{ tomcat_max_queue_size | default(32767) }}"
|
maxQueueSize="{{ tomcat_max_queue_size | default(32767) }}"
|
||||||
URIEncoding="UTF-8"
|
URIEncoding="UTF-8"
|
||||||
|
|
Loading…
Reference in New Issue