diff --git a/tomcat-multiple-instances/templates/tomcat-server.xml.j2 b/tomcat-multiple-instances/templates/tomcat-server.xml.j2
index 89c3053..ed1b881 100644
--- a/tomcat-multiple-instances/templates/tomcat-server.xml.j2
+++ b/tomcat-multiple-instances/templates/tomcat-server.xml.j2
@@ -52,19 +52,22 @@
{% if item.http_enabled %}
{% endif %}
{% if item.ajp_enabled %}
+ enableLookups="false" address="{{ item.ajp_address }}"
+ maxThreads="{{ item.max_threads }}"
+ connectionTimeout="60000"
+ maxPostSize="{{ item.max_post_size | default(104857600) }}"
+ URIEncoding="UTF-8" bindOnInit="false" />
{% endif %}
diff --git a/tomcat/templates/tomcat-server.xml.j2 b/tomcat/templates/tomcat-server.xml.j2
index deb0673..ce5556e 100644
--- a/tomcat/templates/tomcat-server.xml.j2
+++ b/tomcat/templates/tomcat-server.xml.j2
@@ -76,10 +76,11 @@
{% if tomcat_http_enabled %}
+ maxPostSize="{{ tomcat_max_post_size | default(104857600) }}"
+ URIEncoding="UTF-8" bindOnInit="false" />
{% endif %}