mirror of https://github.com/ceph/ceph-ansible.git
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: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 4daed1f137
)
pull/6580/head
v5.0.6
parent
ac0a5c1e68
commit
69a80aea9e
|
@ -27,3 +27,8 @@ http_addr = {{ grafana_server_addr }}
|
|||
admin_user = {{ grafana_admin_user }}
|
||||
admin_password = {{ grafana_admin_password }}
|
||||
allow_embedding = {{ grafana_allow_embedding }}
|
||||
|
||||
{% if dashboard_protocol == 'https' %}
|
||||
[session]
|
||||
cookie_secure = true
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue