ansible-role-redmine/templates/redmine_additional_environm...

12 lines
399 B
Django/Jinja

{% if redmine_inside_iframe %}
config.action_controller.allow_forgery_protection = false
config.action_dispatch.default_headers = {
'X-Frame-Options' => 'ALLOWALL'
}
{% endif %}
config.log_level = :{{ redmine_log_level }}
{% if redmine_memcached %}
config.cache_store = :mem_cache_store, {% for h in redmine_memcache_hosts %}"{{ h }}"{% if not loop.last %}, {% endif %}{% endfor %}
{% endif %}