Merge "Fix keystone_secure_proxy_ssl_header logic"
This commit is contained in:
commit
b9fc36753b
@ -20,9 +20,9 @@ Listen {{ keystone_web_server_bind_address }}:{{ keystone_service_port }}
|
||||
{% endif -%}
|
||||
Header set X-Frame-Options "{{ keystone_x_frame_options | default ('DENY') }}"
|
||||
|
||||
{% if (keystone_ssl | bool) and (keystone_external_ssl | bool) %}
|
||||
{% if (keystone_external_ssl | bool) %}
|
||||
RequestHeader set {{ keystone_secure_proxy_ssl_header }} "https"
|
||||
{% elif not (keystone_ssl | bool) and (keystone_external_ssl | bool) %}
|
||||
{% else %}
|
||||
RequestHeader set {{ keystone_secure_proxy_ssl_header }} "http"
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user