Skip to content

Instantly share code, notes, and snippets.

@turtlebender
Created May 29, 2012 16:40
Show Gist options
  • Save turtlebender/2829459 to your computer and use it in GitHub Desktop.
Save turtlebender/2829459 to your computer and use it in GitHub Desktop.
uWSGI configs
[uwsgi]
socket=/tmp/gearbox.sock
master=true
chmod=666
processes=1
post-buffering=4096
rbrequire=rubygems
rbrequire=bundler/setup
rack=/gearbox/config.ru
ruby-gc-freq=10
server {
server_name localhost;
location / {
include uwsgi_params;
uwsgi_modifier1 30;
uwsgi_pass unix:/tmp/gearbox.sock;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment