forked from ISTI-ansible-roles/ansible-roles
tomcat roles: add the useBodyEncodingForURI, maxHttpHeaderSize, disableUploadTimeout options to server.xml.
This commit is contained in:
parent
87929ea4d1
commit
3d7387d06c
|
@ -59,9 +59,13 @@
|
|||
enableLookups="false"
|
||||
maxQueueSize="{{ item.max_queue_size | default(32767) }}"
|
||||
maxThreads="{{ item.max_threads }}" connectionTimeout="60000"
|
||||
URIEncoding="UTF-8" bindOnInit="false" address="{{ item.http_address }}"
|
||||
URIEncoding="UTF-8"
|
||||
bindOnInit="false" address="{{ item.http_address }}"
|
||||
port="{{ item.http_port }}" protocol="HTTP/1.1"
|
||||
maxPostSize="{{ item.max_post_size | default(104857600) }}"
|
||||
useBodyEncodingForURI="true"
|
||||
maxHttpHeaderSize="8192"
|
||||
disableUploadTimeout="true"
|
||||
{% if tomcat_m_reverse_proxy_name_enabled %}
|
||||
proxyName="{{ tomcat_m_reverse_proxy_name }}"
|
||||
proxyPort="{{ tomcat_m_reverse_proxy_port }}"
|
||||
|
@ -75,6 +79,9 @@
|
|||
enableLookups="false"
|
||||
address="{{ item.ajp_address }}"
|
||||
URIEncoding="UTF-8"
|
||||
useBodyEncodingForURI="true"
|
||||
maxHttpHeaderSize="8192"
|
||||
disableUploadTimeout="true"
|
||||
maxQueueSize="{{ item.max_queue_size | default(32767) }}"
|
||||
maxThreads="{{ item.max_threads }}"
|
||||
connectionTimeout="60000"
|
||||
|
@ -83,7 +90,8 @@
|
|||
proxyName="{{ tomcat_m_reverse_proxy_name }}"
|
||||
proxyPort="{{ tomcat_m_reverse_proxy_port }}"
|
||||
{% endif %}
|
||||
URIEncoding="UTF-8" bindOnInit="false" />
|
||||
URIEncoding="UTF-8"
|
||||
bindOnInit="false" />
|
||||
{% endif %}
|
||||
|
||||
<Engine name="Catalina" defaultHost="localhost">
|
||||
|
|
|
@ -82,13 +82,17 @@
|
|||
enableLookups="false"
|
||||
maxQueueSize="{{ tomcat_max_queue_size | default(32767) }}"
|
||||
maxThreads="{{ tomcat_max_threads }}" connectionTimeout="60000"
|
||||
URIEncoding="UTF-8" bindOnInit="false" address="{{ tomcat_http_address }}"
|
||||
URIEncoding="UTF-8"
|
||||
useBodyEncodingForURI="true"
|
||||
bindOnInit="false" address="{{ tomcat_http_address }}"
|
||||
port="{{ tomcat_http_port }}" protocol="HTTP/1.1"
|
||||
maxPostSize="{{ tomcat_max_post_size | default(104857600) }}"
|
||||
{% if tomcat_reverse_proxy_name_enabled %}
|
||||
proxyName="{{ tomcat_reverse_proxy_name }}"
|
||||
proxyPort="{{ tomcat_reverse_proxy_port }}"
|
||||
{% endif %}
|
||||
maxHttpHeaderSize="8192"
|
||||
disableUploadTimeout="true"
|
||||
/>
|
||||
|
||||
{% endif %}
|
||||
|
@ -98,6 +102,7 @@
|
|||
enableLookups="false" address="{{ tomcat_ajp_address }}"
|
||||
maxQueueSize="{{ tomcat_max_queue_size | default(32767) }}"
|
||||
URIEncoding="UTF-8"
|
||||
useBodyEncodingForURI="true"
|
||||
maxThreads="{{ tomcat_max_threads }}"
|
||||
connectionTimeout="60000"
|
||||
maxPostSize="{{ tomcat_max_post_size | default(104857600) }}"
|
||||
|
@ -105,7 +110,9 @@
|
|||
proxyName="{{ tomcat_reverse_proxy_name }}"
|
||||
proxyPort="{{ tomcat_reverse_proxy_port }}"
|
||||
{% endif %}
|
||||
URIEncoding="UTF-8" bindOnInit="false" />
|
||||
maxHttpHeaderSize="8192"
|
||||
disableUploadTimeout="true"
|
||||
bindOnInit="false" />
|
||||
{% endif %}
|
||||
|
||||
<!-- An Engine represents the entry point (within Catalina) that processes
|
||||
|
|
Loading…
Reference in New Issue