Comment 9 for bug 1235555

Revision history for this message
Christopher H. Laco (claco) wrote :

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.