Skip to content

Instantly share code, notes, and snippets.

@alexcabrera
Created October 24, 2011 16:07
Show Gist options
  • Select an option

  • Save alexcabrera/1309395 to your computer and use it in GitHub Desktop.

Select an option

Save alexcabrera/1309395 to your computer and use it in GitHub Desktop.
nginx configuration for local development
server {
listen 80;
server_name active.lo;
access_log logs/active_lo_80.log;
client_max_body_size 200M;
location /static {
root /usr/local/www/active.lo;
}
location /media {
root /usr/local/www/active.lo;
}
location / {
proxy_pass http://127.0.0.1:8000;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment