Use X-Forwarded-For

Change-Id: I9ab6ef862d9f009d06224b1f864e054723fa8822
This commit is contained in:
Mohammed Naser 2020-05-31 15:14:16 -04:00
parent a3c4acd5bc
commit b6c77fbca7

View File

@ -49,7 +49,8 @@ UWSGI_SETTINGS = {
'UWSGI_HTTP_RAW_BODY': True, 'UWSGI_HTTP_RAW_BODY': True,
'UWSGI_SOCKET_TIMEOUT': 10, 'UWSGI_SOCKET_TIMEOUT': 10,
'UWSGI_NEED_APP': True, 'UWSGI_NEED_APP': True,
'UWSGI_ROUTE_USER_AGENT': '^kube-probe.* donotlog:' 'UWSGI_ROUTE_USER_AGENT': '^kube-probe.* donotlog:',
'UWSGI_LOG_X_FORWARDED_FOR': True,
} }
VERSION = version.VersionInfo('openstack_operator').version_string() VERSION = version.VersionInfo('openstack_operator').version_string()