Development

Setup Munin with Nginx

Most Useful directions — Setting up Munin on Ubuntu

Also a valuable resource — Munin Nginx Ubuntu

Useful Search Phrases I used: “monitor nginx munin”, “serve munin nginx”

Prevent Hotlinking with Apache htaccess

People have been hotlinking some good images from my other domain. In an effort to prevent hotlinking, I found an easy-to-follow tutorial that also has a testing tool.

How to Stop Hotlinking

Getting Django running on nginx

I’m in the process of rolling out a little pet project using Django. This little gem proved indispensable in helping me to get Django to run on nginx.

http://code.djangoproject.com/wiki/ServerArrangements#nginx

Surprisingly I cut & paste the config into my server. With only a few obvious but minor changes the Django instance started working fine.

Start Server for Debugging


python manage.py runfcgi method=threaded host=127.0.0.1 port=8000 daemonize=false

Start Server for semi-production


python manage.py runfcgi method=threaded host=127.0.0.1 port=8000