Skip to content

Instantly share code, notes, and snippets.

@dickbrouwer
Created July 14, 2013 20:38
Show Gist options
  • Save dickbrouwer/5995901 to your computer and use it in GitHub Desktop.
Save dickbrouwer/5995901 to your computer and use it in GitHub Desktop.
server {
listen 80;
server_name dev.websitename.com;
location / {
proxy_pass http://127.0.0.1:8000;
}
location /media/ {
root /var/django/websitename/;
# expires 24h;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment