{% extends "base.html" %}{% load bootstrap3 i18n %} {% block bootstrap3_title %}{% trans 'Configuration help' %}{% endblock %} {% block bootstrap3_content %}

{% trans 'Configuration help' %}

{% trans 'Proxy configuration' %}

{% blocktrans %}Map {{ static_url }} to {{ static_root }} , and {{ media_url }} to {{ media_root }} .{% endblocktrans %}

{% if debug %}
{% trans 'You should deactivate debug mode.' %}
{% endif %} {% if has_secure_proxy_ssl_header %}
{% trans 'Secure proxy SSL header is correctly set.' %}
{% else %}
{% blocktrans %}Configure your proxy to set the {{ secure_proxy_ssl_header_name }} header to {{ secure_proxy_ssl_header_value }}.{% endblocktrans %}
{% endif %} {% if has_authentication_header %}
{% trans 'Authentication SSL header is correctly set.' %}
{% else %}
{% blocktrans %}Configure your proxy to set the username in the {{ authentication_header }} header.{% endblocktrans %}
{% endif %}

{% trans 'Moneta configuration' %}

{% if conf_is_set %}
{% blocktrans %}Configuration file is {{ conf_path }}.{% endblocktrans %}
{% else %}
{% blocktrans %}Configuration file is {{ conf_path }}. Default values are defined in {{ default_conf_path }}.{% endblocktrans %} You can specify another file with the {{ settings }} environment variable.
{% endif %} {% if has_allowed_host %}
{% trans 'HTTP host is correctly allowed in ALLOWED_HOSTS.' %}
{% else %}
{% blocktrans %}Add {{ host }} to your ALLOWED_HOSTS.{% endblocktrans %}
{% endif %} {% if gpg_valid %}
{% trans 'GNUPG_KEYID is valid.' %}
{% else %}
{% trans 'GNUPG_KEYID is not valid. Available values are:' %}
    {% for gpg in gpg_available %}
  • {{ gpg.keyid }} ({% trans 'size: ' %}{{ gpg.length }}{% trans ', fingerprint: ' %}{{ gpg.fingerprint }})
  • {% empty %}
  • No available key. Use moneta-admin gpg_gen generate to generate a new GPG key.
  • {% endfor %}
{% endif %}

{% trans 'Authentication' %}

{% trans 'Configure your proxy to ensure authentication for the following roots:' %}

{% trans 'The following roots should not be authenticated:' %}

{% endblock %}