ansible-role-inception/templates/settings.properties.j2

26 lines
1006 B
Django/Jinja

warnings.unsupportedBrowser=false
{% for setting in inception_project_settings %}
{{ setting }}
{% endfor %}
{% if inception_project_server_auth_mode == "preauth" %}
auth.preauth.header.principal={{ inception_project_server_preauth_header }}
{% if inception_project_server_set_preauth_logout_url %}
auth.preauth.logoutUrl={{ inception_project_server_preauth_logout_url }}
{% endif %}
auth.preauth.newuser.roles={{ inception_project_server_preauth_default_roles }}
{% for user_role in inception_project_server_preauth_users_roles %}
auth.user.{{ user_role.username }}.roles={{ user_role.roles }}
{% endfor %}
{% endif %}
{% for additional_setting in inception_project_additional_settings %}
{{ additional_setting }}
{% endfor %}
{% if inception_project_disable_crsf %}
wicket.core.csrf.enabled=false
wicket.core.csrf.no-origin-action=allow
wicket.core.csrf.conflicting-origin-action=allow
{% endif %}
{% if inception_project_server_behind_reverse_proxy %}
server.forward-headers-strategy=NATIVE
{% endif %}