forked from ISTI-ansible-roles/ansible-roles
added proxy section on gcube-app.xml template
This commit is contained in:
parent
3d747a953c
commit
9e73f5fd69
|
@ -6,6 +6,18 @@
|
|||
{% if item.description is defined %}
|
||||
<description> {{ item.description }} </description>
|
||||
{% endif %}
|
||||
{% if webapp_proxy_endpoint is defined %}
|
||||
<proxy protocol="{{ webapp_proxy_protocol }}">
|
||||
<hostname>{{ webapp_proxy_endpoint }}</hostname>
|
||||
{% if webapp_proxy_protocol == 'https' %}
|
||||
<port>{{ webapp_proxy_port | default ('443') }}</port>
|
||||
{% elif webapp_proxy_protocol == 'http' %}
|
||||
<port>{{ webapp_proxy_port | default ('80') }}</port>
|
||||
{% else %}
|
||||
<port>{{ webapp_proxy_port }}</port>
|
||||
{% endif %}
|
||||
</proxy>
|
||||
{% endif %}
|
||||
{% if item.persistence_location is defined %}
|
||||
<persistence location="{{ item.persistence_location }}"/>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue