Skip to content

Instantly share code, notes, and snippets.

@westphahl
Created April 1, 2010 15:53
Show Gist options
  • Save westphahl/351974 to your computer and use it in GitHub Desktop.
Save westphahl/351974 to your computer and use it in GitHub Desktop.
Nginx config (uWSGI example)
# Stripped down Nginx config file for example.com
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
gzip on;
server {
listen 80 default;
server_name www.example.com;
location / {
uwsgi_pass unix:///var/run/example.com.sock;
include uwsgi_params;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment