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/6582/head
parent
f3b992328a
commit
d00e4b3d9e
|
@ -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 %}
|
Loading…
Reference in New Issue