Rewriting Base URL when passing

Valentin V. Bartenev ne at
Wed Feb 15 22:13:26 UTC 2012

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.

> How can I host my django installation on another port?
> I tried creating a new server object and just added in listen 8000 and
> the location thing, and it didn't respond to anything I sent on that
> port, despite linux saying nginx was bound to that port.

It's strange. Firewall? Bound to wrong interface?

 wbr, Valentin V. Bartenev

More information about the nginx mailing list