diff --git a/smartgears/gcubeapp-setup/templates/gcube-app.xml.j2 b/smartgears/gcubeapp-setup/templates/gcube-app.xml.j2 index c1bb7025..ff10b790 100644 --- a/smartgears/gcubeapp-setup/templates/gcube-app.xml.j2 +++ b/smartgears/gcubeapp-setup/templates/gcube-app.xml.j2 @@ -6,6 +6,18 @@ {% if item.description is defined %} {{ item.description }} {% endif %} +{% if webapp_proxy_endpoint is defined %} + + {{ webapp_proxy_endpoint }} +{% if webapp_proxy_protocol == 'https' %} + {{ webapp_proxy_port | default ('443') }} +{% elif webapp_proxy_protocol == 'http' %} + {{ webapp_proxy_port | default ('80') }} +{% else %} + {{ webapp_proxy_port }} +{% endif %} + +{% endif %} {% if item.persistence_location is defined %} {% endif %}