Reverse proxy for different projects in one gateway

Hi. I've been following this guide on Ignition's official docs about reverse proxy use cases. I have an use case where i have many perspective projects in one Ignition gateway. For projectA I want to access it with http://hostname/projectA, projectB with http://hostname/projectB, and so on.

This is my nginx config:

An this is the result in browser:

Please point out my fault. Thank you.

What is the page config in your project?

You can't use paths for projects because Ignition has its own path structure. You have to use subdomains instead with redirects. For example, I have a customer with 2 different projects, and basically the redirects are like this:
proj1.customer.com --> scada.customer.com/data/perspective/client/proj1
and
proj2.customer.com --> scada.customer.com/data/perspective/client/proj2

2 Likes