Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

How to setup nginx for multitenancy

$
0
0
I am bringing multi-tenancy to a single-tenant app and I'm looking into using nginx to assist with that.

To describe the rough architecture, it looks like so: Each tenant runs in its own process, with multiple processes on each machine. There are multiple machines required to hold all of the tenants. So, a request comes through with an authentication token encoding the user and what tenant it belongs to, and nginx would hopefully be able to point the request to the correct machine/port for that user.

How is this accomplished with nginx? Are there any good tutorials for this type of setup?

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>