Skip to content

Instantly share code, notes, and snippets.

@andrijan
Created October 2, 2012 17:46
Show Gist options
  • Select an option

  • Save andrijan/3821599 to your computer and use it in GitHub Desktop.

Select an option

Save andrijan/3821599 to your computer and use it in GitHub Desktop.
server {
listen 80;
server_name maeting.kasmir.is;
access_log /var/log/nginx/maeting.access.log;
error_log /var/log/nginx/maeting.error.log;
location /static/ {
root /srv/sites/maeting/assets/static/;
}
location /media/ {
root /srv/sites/maeting/assets/uploaded/;
}
location / {
proxy_pass http://127.0.0.1:8001/;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment