Create a gist now

Instantly share code, notes, and snippets.

anonymous /myappconf
Created Sep 14, 2016

What would you like to do?
server {
listen 80;
server_name mydomain;
location = /favicon.ico { access_log off; log_not_found off; }
location /static/ {
root /path/to/my/project;
}
location / {
include proxy_params;
proxy_pass http://unix:/path/to/my/project/myproject.sock;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment