[ https://issues.apache.org/jira/browse/ARTEMIS-3011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Bertram resolved ARTEMIS-3011. ------------------------------------- Fix Version/s: 2.17.0 Resolution: Fixed > Use X-Forwarded-Proto header for Hawtio 2 > ----------------------------------------- > > Key: ARTEMIS-3011 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3011 > Project: ActiveMQ Artemis > Issue Type: Improvement > Components: Web Console > Affects Versions: 2.16.0 > Reporter: Stephan Austermühle > Assignee: Domenico Francesco Bruscino > Priority: Minor > Fix For: 2.17.0 > > > 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: > {code} > $ 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 > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)