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

25 lines
1.0 KiB
Plaintext
Raw Normal View History

2021-01-07 20:34:41 +01:00
warnings.unsupportedBrowser=false
{% for setting in inception_project_settings %}
{{ setting }}
{% endfor %}
2021-11-04 12:23:34 +01:00
{% if inception_project_server_auth_mode == "preauth" %}
auth.preauth.header.principal={{ inception_project_server_preauth_header }}
auth.preauth.logoutUrl={{ inception_project_server_preauth_logout_url }}
auth.preauth.newuser.roles={{ inception_project_server_preauth_default_roles }}
2021-01-07 20:34:41 +01:00
{% for user_role in inception_project_server_preauth_users_roles %}
auth.user.{{ user_role.username }}.roles={{ user_role.roles }}
{% endfor %}
2021-11-04 12:23:34 +01:00
{% endif %}
{% 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.tomcat.internal-proxies=127\.0\.[0-1]\.1
server.tomcat.remote-ip-header=x-forwarded-for
server.tomcat.accesslog.request-attributes-enabled=true
server.tomcat.protocol-header=x-forwarded-proto
server.tomcat.protocol-header-https-value=https
{% endif %}