WSGI Application and apache set up on different nodes

12 views
Skip to first unread message

irtmem intellect

unread,
Aug 16, 2019, 2:18:00 AM8/16/19
to modwsgi
hi 

I am able to set up Django WSGI application as a daemon and apache (with mod-wsgi module) on a single node, Are there options to do this set up on two different nodes with apache on one node and Django WSGI Application on other ..?  I want this option to work because it gives better scalability and security . 

Kindly help by providing your inputs,

Regards,

Graham Dumpleton

unread,
Aug 16, 2019, 2:24:31 AM8/16/19
to mod...@googlegroups.com


> On 16 Aug 2019, at 4:16 pm, irtmem intellect <irt...@gmail.com> wrote:
>
> hi
>
> I am able to set up Django WSGI application as a daemon and apache (with mod-wsgi module) on a single node, Are there options to do this set up on two different nodes with apache on one node and Django WSGI Application on other ..? I want this option to work because it gives better scalability and security .

Only by using HTTP proxy to a separate server on the other box.

What exactly are your scalability and security concerns?

For scalability it is more typical to have nginx or haproxy on a load balancer machine sending requests to different hosts where Apache/mod_wsgi is running. You wouldn't split Apache from mod_wsgi.

Graham

Reply all
Reply to author
Forward
0 new messages