Welcome! Log In Create A New Profile

Advanced

How to setup nginx for multitenancy

Posted by noshoes 
How to setup nginx for multitenancy
May 25, 2015 03:41PM
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?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 166
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready