ironic-inspector/releasenotes/notes/add-proxy-headers-support-127f99f5ff87f03f.yaml
Vladyslav Drok 6728160ae2 Add possibility to configure application root
SCRIPT_NAME should be used to correctly construct the returned links.
This patch also adds ProxyFix from werkzeug to allow using inspector
behind SSL terminating proxy while still keeping the links correct.

Change-Id: I4f40e9266a55d237f7aa68324b11f59b667cc940
2020-11-10 17:12:48 +01:00

13 lines
610 B
YAML

---
features:
- |
Adds a possibility to setup ironic inspector behind a proxy, while
allowing the links of the resources API returns to remain correct.
Inspector now respects the following headers that are passed with
API requests: ``X-Forwarded-For``, ``X-Forwarded-Proto``,
``X-Forwarded-Host``, ``X-Forwarded-Port``, ``X-Forwarded-Prefix``.
If the API is run providing ``SCRIPT_NAME`` environment variable,
it is now also respected, and it allows to return the correct links
in response to requests, even if inspector API is not placed at the
web server root resource.