Skip to content

Instantly share code, notes, and snippets.

Created September 14, 2016 15:22
Show Gist options
  • Save anonymous/6c4668a79f731a8f7c336858e8d9fa27 to your computer and use it in GitHub Desktop.
Save anonymous/6c4668a79f731a8f7c336858e8d9fa27 to your computer and use it in GitHub Desktop.
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