You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Domenico Francesco Bruscino (Jira)" <ji...@apache.org> on 2020/11/24 21:42:00 UTC

[jira] [Assigned] (ARTEMIS-3011) Use X-Forwarded-Proto header for Hawtio 2

     [ https://issues.apache.org/jira/browse/ARTEMIS-3011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Domenico Francesco Bruscino reassigned ARTEMIS-3011:
----------------------------------------------------

    Assignee: Domenico Francesco Bruscino

> 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
>
> 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)