Enable keystone handling of X-Forwarded-Proto header
If the X-Forwarded-Proto header is received by keystone, this option will make the service properly handle it. This is useful, for instance, if TLS is enabled for the admin endpoint. Change-Id: I31a1f51591e8423367e61eafc3af9b2d61278468
This commit is contained in:
parent
bdfdce52ad
commit
fd9208025e
@ -45,6 +45,11 @@ keystone::cron::token_flush::maxdelay: 3600
|
||||
keystone::roles::admin::service_tenant: 'service'
|
||||
keystone::roles::admin::admin_tenant: 'admin'
|
||||
keystone::cron::token_flush::destination: '/dev/null'
|
||||
keystone::config::keystone_config:
|
||||
DEFAULT/secure_proxy_ssl_header:
|
||||
value: 'HTTP_X_FORWARDED_PROTO'
|
||||
ec2/driver:
|
||||
value: 'keystone.contrib.ec2.backends.sql.Ec2'
|
||||
|
||||
#swift
|
||||
swift::proxy::pipeline:
|
||||
|
@ -167,13 +167,12 @@ if hiera('step') >= 2 {
|
||||
if hiera('step') >= 3 {
|
||||
|
||||
include ::keystone
|
||||
include ::keystone::config
|
||||
include ::keystone::roles::admin
|
||||
include ::keystone::endpoint
|
||||
|
||||
#TODO: need a cleanup-keystone-tokens.sh solution here
|
||||
keystone_config {
|
||||
'ec2/driver': value => 'keystone.contrib.ec2.backends.sql.Ec2';
|
||||
}
|
||||
|
||||
file { [ '/etc/keystone/ssl', '/etc/keystone/ssl/certs', '/etc/keystone/ssl/private' ]:
|
||||
ensure => 'directory',
|
||||
owner => 'keystone',
|
||||
|
@ -496,11 +496,10 @@ if hiera('step') >= 3 {
|
||||
manage_service => false,
|
||||
enabled => false,
|
||||
}
|
||||
include ::keystone::config
|
||||
|
||||
#TODO: need a cleanup-keystone-tokens.sh solution here
|
||||
keystone_config {
|
||||
'ec2/driver': value => 'keystone.contrib.ec2.backends.sql.Ec2';
|
||||
}
|
||||
|
||||
file { [ '/etc/keystone/ssl', '/etc/keystone/ssl/certs', '/etc/keystone/ssl/private' ]:
|
||||
ensure => 'directory',
|
||||
owner => 'keystone',
|
||||
|
Loading…
x
Reference in New Issue
Block a user