Re: Multiple uwsgi apps in one project

2017-05-28 Thread Melvyn Sopacua
On Friday 26 May 2017 04:22:49 marcin.j.no...@gmail.com wrote: > I think that my reqs are pretty straightforward. > I'd like to setup project environment with 3 different apps: > >1. main app (public) >2. admin app (vpn) >3. local network app for api talking with other services in the

Re: Multiple uwsgi apps in one project

2017-05-26 Thread marcin . j . nowak
Thanks. Could you explain last point about 3 different sites? As I said I'd like to have separate middlewares and urls. Currently I have two Django projects defined, they share app paths and most of settings (middlewares are redefined and urls are separate). Marcin W dniu piÄ…tek, 26 maja 201

Re: Multiple uwsgi apps in one project

2017-05-26 Thread Jani Tiainen
Ok, There are several ways how to tackle with this (you can do most of that with webserver configs). Just limit access from proper IP's (if your VPN is setup decently it will give your end users certain IP-range(s) which you can use to filter admin-access) same for "local network" app. But t

Re: Multiple uwsgi apps in one project

2017-05-26 Thread marcin . j . nowak
I think that my reqs are pretty straightforward. I'd like to setup project environment with 3 different apps: 1. main app (public) 2. admin app (vpn) 3. local network app for api talking with other services in the datacenter The whole thing is about preserving same project environm

Re: Multiple uwsgi apps in one project

2017-05-26 Thread Jani Tiainen
Hi, Your requirements are a bit contradicting. While you want to use same app with identical settings twice to different domain, you also want to have different urls? How these urls should be different compared to that other site? On 26.05.2017 13:26, marcin.j.no...@gmail.com wrote: Hi. I

Multiple uwsgi apps in one project

2017-05-26 Thread marcin . j . nowak
Hi. I'd like to serve more uwsgi apps for the same project. These apps must have just separate urls and must be served on spearate domains. I'd like to have separate appservers. The rest, i.e. project's environment, should stay same. How to achieve that? I know I can create a new django pro