Re:Ask HN: Django Deploy Recommendations
by baddox on Saturday October 23, 2010 @04:12PM
(#1824270)
Know of any tutorials appropriate for a Linux server noob (I'm comfortable with the Linux command line but haven't done much web deployment other than basic one-click xampp stuff)?
[ Parent
| on HN ]
Re:Ask HN: Django Deploy Recommendations
by jordanmessina on Saturday October 23, 2010 @05:23PM
(#1824395)
It's quite easy. Install nginx, update the config file, generally found in '/etc/nginx/sites-enabled/'
There are plenty of good nginx config examples out there, but to use it as a reverse proxy you want to do something like: location / { proxy_pass http://127.0.0.1:8080/; }
You also need to change your ports.conf file for apache to make it run on a different port if you want nginx running on port 80.
I love linode's library: