Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.16.0
-
None
Description
ARTEMIS-2838 introduced Hawtio 2 for Artemis 2.16. While this is much appreciated, it would help with reverse proxies if Hawtio respects the header X-Forwarded-Proto for URL/redirect generation.
At the moment, the console just returns HTTP redirects instead of HTTPS despite the X-Forwarded-Proto header inserted by the Kubernetes Nginx Ingress Controller:
$ curl -k -v https://artemis-console-primary-0.cluster.company.com/console * Trying 10.160.20.55... […] > GET /console HTTP/2 > Host: artemis-console-primary-0.cluster.company.com > User-Agent: curl/7.58.0 > Accept: */* > < HTTP/2 302 < date: Tue, 24 Nov 2020 16:33:51 GMT < content-length: 0 < location: http://artemis-console-primary-0.cluster.company.com/console/ < strict-transport-security: max-age=15724800; includeSubDomains
Attachments
Issue Links
- links to