Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

openIMIS modular frontend is the Javascript/React application that runs on the client computer. Therefore, the server won't know the full URL used within the frontend application (there is no folder or files matching those URLs). In order to still be able to use URL to access an openIMIS page, a URL rewriting rule is required.

Solution

The frontend is able to receive a GET parameter that will provide with the page to load first. This parameter is dyn and must contain a valid application PATH, encoded using the base64 method.

NGINX

In the nginx configure file, a rewrite rule is required under the “front” location:

...