samedi 18 septembre 2021

Proxying micro front-ends from different domains under the same domain

I'd like to proxy different apps, with common shared UI hosted on different subdomains:

  • app1.acme.org
  • app2.acme.org
  • app3.acme.org

under subpaths of a given domain to have a routing similar to that:

  • app1.acme.org -> app.acme.org/app1
  • app2.acme.org -> app.acme.org/app2
  • app3.acme.org -> app.acme.org/app3

Is it possible, and if so, what would be a good approach to implement this pattern?

I'd rather avoid embedding the external apps into iframes.

Most apps are built with nextJS and hosted on netlify. Domains would be managed through AWS Route53.




Aucun commentaire:

Enregistrer un commentaire