How to Resolve Nginx Reverse Proxy Issue with Mendix App Routing?

Greetings all, I'm facing a problem with my Nginx reverse proxy configuration. I have the following setup: as the main app (mendix vr 9.24.5) hosting another app called app1 (mendix 10.4.1) hosting another app called app2 (mendix 10.6.8) I've configured Nginx to route requests as follows: / to /app1 to /app2 to However, I'm encountering an issue where accessing resources like the login page always points to /login.html of the root instead of /login.html of app1 or app2. Also, I face this problem in some icons like the date-picker.svg as an example, or the chevrons in the dropdown inputs. Even the browser shows that I am in, the request sent to and not   I've already tried rewriting the Urls using rewrite and sub_filter but everytime I encounter the same problem.   I am writing down the simplest config so everyone can help and use it as a starting point.   server {       listen 80;       server_name;     location / {         proxy_pass;       }     location /app1 {         proxy_pass;     }     location /app2 {         proxy_pass;    } }
0 answers