Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

You can have different UM Rest Proxy instances on different web servers, e.g. Intranet vs. Internet or different domains/tenants which all use different interfaces on the UM backend.

Getting the REST proxy web app

The UM REST Proxy web app is shipped with every Universal Messenger installation.

It can either be copied from the UM server directory UM/web-integration/cmsbs-restproxy.war and manually configured via context file or downloaded from the UM GUI as a preconfigured WAR file.

Info

Installation details: https://www.universal-messenger.de/knowledge-base/intern/doc-en/Administration/REST_proxy_installation.html

Typical configuration

Assuming you have the following setup:

...

On your outmost web server or load balancer which handles your website under www.yourwebsite.com add a Reverse Proxy configuration to handle all requests to /p/…

On Apache this Apache will need the following modules:

  • proxy

  • proxy_http

  • headers

The configuration would looks like this:

Codeblock
<Location /p/>
    SetEnv proxy-initial-not-pooled 1
    ProxyPass "http://localhost:8080/p/"
    ProxyPassReverse "http://localhost:8080/p/"
    RequestHeader set x-cmsbs-urlprefix "https://www.yourwebsite.com/p"
    RequestHeader unset x-cmsbs-restproxy-path 
    RequestHeader unset x-forwarded-host 
</Location>

...

Info

More configuration options including whitelist configurationwhitelisting: https://www.universal-messenger.de/knowledge-base/intern/doc-en/Administration/REST_proxy_configuration.html

...