We have two OurApp and FusionAuth applications installed on our server. We are currently using two subdomains.
-
For example https://auth.service.com . All requests that come from this subdomain nginx proxies to FusionAuth (on our server).
-
https://app.service.com. All requests that come from this subdomain nginx proxies to OurApp.
But we wouldn't want to have two subdomains. We would like to have one domain for example https://service.com . We would like setup that all requests from https://service.com/auth nginx proxies to the FusionAuth app, and all the others (ex https://service.com/home) to requests to the OurApp.
The question is, is it possible to specify FusionApp so that all endpoits start with /auth? This way we would be able to use one subdomain and configure nginx to proxy all requests that start with /auth to FusionAuth and the rest to OurApp.
We use docker of FusionAuth.
Or maybe there is some other solution?
Thanks.