Skip to content

Instantly share code, notes, and snippets.

@jmolinski
Created November 27, 2017 22:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmolinski/22a6ffa1e31d86d9fc3114889d6f4c5d to your computer and use it in GitHub Desktop.
Save jmolinski/22a6ffa1e31d86d9fc3114889d6f4c5d to your computer and use it in GitHub Desktop.
server {
listen 80;
server_name IP;
location = /favicon.ico { access_log off; log_not_found off; }
location /media/ {
root /home/NAME/REPO-NAME/media;
}
location / {
uwsgi_pass unix:///home/NAME/socks/NAME.sock;
include uwsgi_params;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment