I have a webapp built with Django. I\'m currently running it off a laptop at home behind a router.
I have the router configured to route all traffic sent to a specific
I have the same problem with my development server. After some internet search I've found this discussion (nginx, apache, and odd admin error) where the solution is to modify the proxy configuration of nginx.
The configuration setting to modify is:
proxy_set_header Host $host;
the solution is to add the port number:
proxy_set_header Host $host:$server_port;
In my ngnix + apache2 (with worker mpm) + django now all works well.