placement/etc/placement/config-generator.conf
Takashi Kajinami 2007f8fb45 Enable HTTPProxyToWSGI middleware to find actual client ips
Currently placement records REMOTE_ADDR environment as source ip but
this environment points load balancer ips instead of actual client ips
when placmenet runs behind load balancers like haproxy.

This change enables HTTPProxyToWSGI middleware to parse request
headers to look up actual client address.

Story: 2009049
Task: 42819
Change-Id: I4d15201dd2f94d00f4f2b53f773511ea020ef4ac
2021-08-01 20:56:44 +09:00

13 lines
445 B
Plaintext

[DEFAULT]
output_file = etc/placement/placement.conf.sample
wrap_width = 80
namespace = placement.conf
namespace = keystonemiddleware.auth_token
namespace = oslo.log
namespace = oslo.middleware.cors
namespace = oslo.middleware.http_proxy_to_wsgi
namespace = oslo.policy
namespace = osprofiler
# FIXME(mriedem): There are likely other missing 3rd party oslo library
# options that should show up in the placement.conf docs, like oslo.concurrency