Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2899

Make Artemis console reverse proxy friendly

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.15.0
    • 2.16.0
    • Web Console
    • None

    Description

      We are running an Artemis cluster inside of a Kubernetes cluster and want to expose the broker web console via a Kubernetes Ingress. This currently works only when using a dedicated host and exposing the root url but not for sub-paths (e.g., /my/path/console) because the console path is hardcoded to the second element in index.html:

          <script type="text/javascript">
              var base = window.location.pathname.split('/', 2)[1];
              if (base == "") {
                document.write("<base href='/'/>");
              } else {
                document.write("<base href='/" + base + "/' />");
              }
          </script>
      

      Changing the the url in bootstrap.xml is not an option because applications accessing the Jolokia interface then need to know the external address.

      Attachments

        Issue Links

          Activity

            People

              andytaylor Andy Taylor
              stephan2020 Stephan Austermühle
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: