Ideally, this should be in every api across the board imho. Any service being proxied in a method other than running wsgi directly will have these issues.
In nova, you can really cheat, and use osapi_compute_link_prefix. At least with the above middleware, any localhost access bypassing the proxy will retain the proper protocol/hostname.
Ideally, this should be in every api across the board imho. Any service being proxied in a method other than running wsgi directly will have these issues.
In nova, you can really cheat, and use osapi_compute_ link_prefix. At least with the above middleware, any localhost access bypassing the proxy will retain the proper protocol/hostname.