Skip to content

Instantly share code, notes, and snippets.

@jvc26
Last active December 20, 2015 08:09
Show Gist options
  • Save jvc26/6098258 to your computer and use it in GitHub Desktop.
Save jvc26/6098258 to your computer and use it in GitHub Desktop.
nginx config
server {
server_name example.com;
access_log /path/to/logs/access.log;
error_log /path/to/logs/error.log;
location / {
uwsgi_pass unix:/tmp/{{ app_name }}.sock;
include /etc/nginx/uwsgi_params;
}
location /static {
root /path/to/static/files/;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment