diff --git a/tomcat-multiple-instances/templates/tomcat-server.xml.j2 b/tomcat-multiple-instances/templates/tomcat-server.xml.j2 index af880bf7..7dbc9738 100644 --- a/tomcat-multiple-instances/templates/tomcat-server.xml.j2 +++ b/tomcat-multiple-instances/templates/tomcat-server.xml.j2 @@ -56,12 +56,16 @@ {% if item.http_enabled %} + URIEncoding="UTF-8" + bindOnInit="false" /> {% endif %} diff --git a/tomcat/templates/tomcat-server.xml.j2 b/tomcat/templates/tomcat-server.xml.j2 index 75bb0bca..9dc83aa6 100644 --- a/tomcat/templates/tomcat-server.xml.j2 +++ b/tomcat/templates/tomcat-server.xml.j2 @@ -79,25 +79,30 @@ {% if tomcat_http_enabled %} {% endif %} {% if tomcat_ajp_enabled %} + maxHttpHeaderSize="8192" + disableUploadTimeout="true" + bindOnInit="false" /> {% endif %}