Commit d00e4b3d authored by Guillaume Abrioux's avatar Guillaume Abrioux
Browse files

dashboard: set cookie_secure in grafana

When using grafana behind https `cookie_secure` should be set to `true`.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1966880

Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 4daed1f1)
parent f3b99232
......@@ -27,3 +27,9 @@ http_addr = {{ grafana_server_addr }}
admin_user = {{ grafana_admin_user }}
admin_password = {{ grafana_admin_password }}
allow_embedding = {{ grafana_allow_embedding }}
{% if dashboard_protocol == 'https' %}
cookie_secure = true
[session]
cookie_secure = true
{% endif %}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment