mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 08:23:06 -06:00
Merged in ITPLT-1404-allow-application-tunnels (pull request #163)
ITPLT-1404 Allow for use of Application Tunnels - https://support.atlassian.com/organization-administration/docs/configure-application-tunnels/ Approved-by: Geoff Jacobs Approved-by: Dylan Rathbone
This commit is contained in:
@@ -125,6 +125,7 @@ atl_proxy_name: "{{ lookup('env', 'ATL_PROXY_NAME') | lower }}"
|
||||
atl_proxy_port: "{{ lookup('env', 'ATL_TOMCAT_PROXYPORT') }}"
|
||||
atl_tomcat_port: "{{ lookup('env', 'ATL_TOMCAT_DEFAULTCONNECTORPORT') or '8080' }}"
|
||||
atl_ssl_proxy: "{{ lookup('env', 'ATL_SSL_PROXY') or 'false' }}"
|
||||
atl_apptunnel_port: "{{ lookup('env', 'ATL_APPTUNNEL_PORT') or '' }}"
|
||||
|
||||
atl_tomcat_acceptcount: "{{ lookup('env', 'ATL_TOMCAT_ACCEPTCOUNT') or '10' }}"
|
||||
atl_tomcat_connectiontimeout: "{{ lookup('env', 'ATL_TOMCAT_CONNECTIONTIMEOUT') or '20000' }}"
|
||||
|
||||
@@ -22,13 +22,10 @@
|
||||
acceptCount="{{ atl_tomcat_acceptcount }}"
|
||||
secure="{{ atl_tomcat_secure }}"
|
||||
scheme="{{ atl_tomcat_scheme }}"
|
||||
{% if atl_proxy_name is defined and atl_proxy_name != '' %}
|
||||
proxyName="{{ atl_proxy_name }}"
|
||||
{% endif %}
|
||||
{% if atl_proxy_port is defined and atl_proxy_port != '' %}
|
||||
proxyPort="{{ atl_proxy_port }}"
|
||||
{% endif %}
|
||||
|
||||
{% if atl_proxy_name is defined and atl_proxy_name != '' -%}proxyName="{{ atl_proxy_name }}"
|
||||
{% endif -%}
|
||||
{% if atl_proxy_port is defined and atl_proxy_port != '' -%}proxyPort="{{ atl_proxy_port }}"
|
||||
{% endif -%}
|
||||
relaxedPathChars="[]|"
|
||||
relaxedQueryChars="[]|{}^\`"<>"
|
||||
bindOnInit="false"
|
||||
@@ -40,7 +37,6 @@
|
||||
<Connector port="{{ atl_tomcat_redirectport }}"
|
||||
protocol="{{ atl_tomcat_protocol }}"
|
||||
connectionTimeout="{{ atl_tomcat_connectiontimeout }}"
|
||||
|
||||
relaxedPathChars="[]|"
|
||||
relaxedQueryChars="[]|{}^\`"<>"
|
||||
maxHttpHeaderSize="65536"
|
||||
@@ -50,6 +46,18 @@
|
||||
compressableMimeType="text/html,text/xml,text/plain,text/css,application/json,application/javascript,application/x-javascript" />
|
||||
{% endif %}
|
||||
|
||||
{% if atl_apptunnel_port is defined and atl_apptunnel_port != '' %}
|
||||
<Connector port="{{ atl_apptunnel_port }}"
|
||||
connectionTimeout="20000"
|
||||
maxThreads="200"
|
||||
minSpareThreads="10"
|
||||
enableLookups="false"
|
||||
acceptCount="10"
|
||||
URIEncoding="UTF-8"
|
||||
relaxedPathChars="[]|"
|
||||
relaxedQueryChars="[]|{}^\`"<>"/>
|
||||
{% endif %}
|
||||
|
||||
<Engine name="Catalina"
|
||||
defaultHost="localhost">
|
||||
<Host name="localhost"
|
||||
|
||||
Reference in New Issue
Block a user