Created
May 29, 2012 16:40
-
-
Save turtlebender/2829459 to your computer and use it in GitHub Desktop.
uWSGI configs
This file contains hidden or 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
[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 |
This file contains hidden or 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
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