46 lines
1.4 KiB
Django/Jinja
46 lines
1.4 KiB
Django/Jinja
<container mode='{{ smartgears_mode }}'>
|
|
|
|
<hostname>{{ smartgears_hostname }}</hostname>
|
|
{%if setup_nginx %}
|
|
{%if https_port is defined %}
|
|
<port>{{ https_port }}</port>
|
|
{% else %}
|
|
<port>{{ http_port }}</port>
|
|
{% endif %}
|
|
{% else %}
|
|
<port>{{ item.http_port }}</port>
|
|
{% endif %}
|
|
<infrastructure>{{ smartgears_infrastructure_name }}</infrastructure>
|
|
{% if smartgears_vo %}
|
|
{% for vo_n in smartgears_vo_name %}
|
|
<vo>{{ vo_n }}</vo>
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
<site>
|
|
<country>{{ smartgears_country }}</country>
|
|
<location>{{ smartgears_location }}</location>
|
|
<latitude>{{ smartgears_latitude }}</latitude>
|
|
<longitude>{{ smartgears_longitude }}</longitude>
|
|
</site>
|
|
|
|
<property name='SmartGearsDistributionBundle' value='UnBundled' />
|
|
<property name='SmartGearsDistribution' value='{{ smartgears_distribution_version }}' />
|
|
<publication-frequency>60</publication-frequency>
|
|
{% if smartgears_define_context_vo %}
|
|
{% for context in smartgears_context %}
|
|
|
|
<application mode="{{ smartgears_application_mode }}" context="{{ context.name }}">
|
|
{% if smartgears_define_context_root_vo %}
|
|
<scope>/{{ smartgears_infrastructure_name }}</scope>
|
|
{% endif %}
|
|
{% for vo_n in smartgears_vo_name %}
|
|
{% for vo_scope in context.scopes %}
|
|
<scope>/{{ smartgears_infrastructure_name }}/{{ vo_n }}{{ vo_scope }}</scope>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</application>
|
|
{% endfor %}
|
|
{% endif %}
|
|
</container>
|