Created
April 1, 2010 15:53
-
-
Save westphahl/351974 to your computer and use it in GitHub Desktop.
Nginx config (uWSGI example)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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