Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-8029

Wrong use of opennms.web.base-url

    XMLWordPrintable

    Details

      Description

      The opennms.web.base-url allows to run OpenNMS behind a proxy, by just rewriting the host part of the URL with the value from the X-Forwarded-Host header. However, this header may contain a comma separated list of hostnames, if multiple proxy severs are used.

      As an example, consider this setup:

      OpenNMS (127.0.0.1:8089) <-- Local Proxy (opennms.company.local:443) <-- Proxy (opennms.domain.tld:443)

      When using "opennms.web.base-url = https://%x%c/", this will result in URLs being rewritten to:
      https://opennms.domain.tld%2C%20opennms.local

        Attachments

          Activity

            People

            Assignee:
            fooker Dustin Frisch
            Reporter:
            reissmann Sven Reissmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: