Rewriting Base URL when passing

Valentin V. Bartenev ne at
Wed Feb 15 22:57:02 UTC 2012

On Thursday 16 February 2012 02:13:26 Valentin V. Bartenev wrote:
> On Thursday 16 February 2012 01:40:56 adam estes wrote:
> > Hmm. then that wouldn't resolve my problem.
> You can try to set django.root to "/django/" (it's "/" by default) in your
> django settings or uwsgi deploy .py script, so probably you don't need any
> magic with urls.

Or, probably:

   uwsgi_param  PATH_INFO    $document_uri;
   uwsgi_param  SCRIPT_NAME  /django;

 wbr, Valentin V. Bartenev

More information about the nginx mailing list