{% load i18n %} {% load nginx_tags_custom %}

{% for lickey in keys_list %}
{{ vhost_menu|slice:":16" }}...
{% for name_vhost in dropdown_menu %}
{{ name_vhost|slice:":16" }}...
{% endfor %}
{% trans 'Common settings' %}
{% for i in list_vhost.listen %} {% if i|check_ssl %}

ssl

{% else %}

{{i}}

{% endif %} {% endfor %}
{% for i in list_vhost.server_name %}

{{i}}

{% endfor %}
{% for i in list_vhost.root %}

{{i}}

{% endfor %}
{% for i in list_vhost.index %}

{{i}}

{% endfor %}
{% for key,values in list_vhost.add_header.items %}

{{key}}: {{values}}

{% endfor %}
{% for key,values in list_vhost.error_page.items %}

{{key}}: {{values}}

{% endfor %}
{% include 'nginx/main_ssl_include_ssl_vhost_nginx.html' %}
Location
{% for values in list_vhost.locations %} {% if values.location == location_choose %} {% for key, value in values.items %} {% if key == 'location' or key == 'name_vhost'%} {% else %}
{% if key == 'add_header' or key == 'error_page' or key == 'proxy_set_header' %} {% for keys,i in value.items %}

{{keys}}: {{i}}

{% endfor %} {% else %} {% if key == 'proxy_send_timeout' or key == 'proxy_read_timeout'%} {% else %} {% for i in value %}

{% if key == 'proxy_intercept_errors' %} {% if i == 'True' %} on {% else %} off {% endif %} {% else %} {{i}} {% endif %}

{% endfor %} {% endif %} {% endif %}
{% endif %} {% endfor %} {% else %} {% endif %} {% endfor %}
{% endfor %}
{% include 'nginx/modal_add_locations.html' %}
{% include '_confirmation.html' %} {% include 'nginx/modal_param.html' %} {% include 'nginx/modal_settings_info.html' %}