Re: How to configure NGINX to run Django app in a subpath?

2017-11-30 Thread Luca Moiana
Robillard ha scritto: > > Whats wrong in using FastCGI for your specific use-case ? > Etienne > > Le 2017-11-29 à 15:45, Luca Moiana a écrit : > > Following this tutorial > > I came up with this NGINX server: > > upstream app_name { > >server unix:/home/g

Re: How to configure NGINX to run Django app in a subpath?

2017-11-29 Thread Luca Moiana
gt; Then you have no need to have 2 nginx confs, just put that the proxy_pass > "starts" in your prefix instead of root > > On Mon, Nov 27, 2017 at 8:32 AM, Luca Moiana <luca@gmail.com > > wrote: > >> Googling around I found this page >> http://albertoconnor.ca/

Re: How to configure NGINX to run Django app in a subpath?

2017-11-27 Thread Luca Moiana
gets to Django (by nginx or gunicorn). > > HTH :) > > On Sun, Nov 26, 2017 at 4:56 PM, Luca Moiana <luca@gmail.com > > wrote: > >> Hi, >> >> Sorry for the slight OT but after days of search I have no clue. >> >> >> Following

Re: How to configure NGINX to run Django app in a subpath?

2017-11-27 Thread Luca Moiana
Thanks, I read you tutorial but I don't get where I should set my subpath? thanks a lot Il giorno domenica 26 novembre 2017 21:06:56 UTC+1, k2527806 ha scritto: > > https://jee-appy.blogspot.com/2017/01/deply-django-with-nginx.html > > On Sun, Nov 26, 2017 at 11:26 PM, Luca

Re: How to configure NGINX to run Django app in a subpath?

2017-11-27 Thread Luca Moiana
ing is that you will have to deal with "/pmapp" prefix in your >> routing / urls. You can deal with this inside Django or have it stripped >> before it gets to Django (by nginx or gunicorn). >> >> HTH :) >> >> On Sun, Nov 26, 2017 at 4:56 PM, Luca Moia

Re: How to configure NGINX to run Django app in a subpath?

2017-11-27 Thread Luca Moiana
ango or have it stripped > before it gets to Django (by nginx or gunicorn). > > HTH :) > > On Sun, Nov 26, 2017 at 4:56 PM, Luca Moiana <luca@gmail.com > > wrote: > >> Hi, >> >> Sorry for the slight OT but after days of search I have no clue.

How to configure NGINX to run Django app in a subpath?

2017-11-26 Thread Luca Moiana
Hi, Sorry for the slight OT but after days of search I have no clue. Following this DigitalOcean tutorial I was able to setup Django + Postgres + Gunicorn + NGINX running

Re: Polymorphic class and geomodels?

2016-02-05 Thread Luca Moiana
ance) let me know please. > > Many thanks, > > Serge > > > +380 636150445 > skype: skhohlov > > On Fri, Feb 5, 2016 at 7:25 PM, Luca Moiana <luca@gmail.com > > wrote: > >> Hi Serge, >> >> thank you for your reply. >> >

Re: Polymorphic class and geomodels?

2016-02-05 Thread Luca Moiana
d in case of abstract class for different types usage ? > > Many thanks, > > Serge > > > +380 636150445 > skype: skhohlov > > On Fri, Feb 5, 2016 at 11:07 AM, Luca Moiana <luca@gmail.com > > wrote: > >> Hi Collin, >> >> Sorry for

Re: Polymorphic class and geomodels?

2016-02-05 Thread Luca Moiana
com/group/geodjango > > Collin > > On Monday, October 26, 2015 at 7:18:24 AM UTC-4, Luca Moiana wrote: >> >> Hi, working on my first django app, and run into a problem. >> >> I tend to create geodjango objects, and add all data from external tables >> with pk.

Polymorphic class and geomodels?

2015-10-26 Thread Luca Moiana
Hi, working on my first django app, and run into a problem. I tend to create geodjango objects, and add all data from external tables with pk. Then I want to have different geometries 8points, lines, polygons) into a unique polymorphic class, can I do that? I have an error that I'll