diff options
| author | Miquel Sabaté <mikisabate@gmail.com> | 2011-11-04 21:05:04 +0100 |
|---|---|---|
| committer | Miquel Sabaté <mikisabate@gmail.com> | 2011-11-04 21:05:04 +0100 |
| commit | 14513b2e05c36762e0dc543b62291d296c081b1a (patch) | |
| tree | 735fb4a43718faa79ec39bc12103e000a942167d | |
| parent | 336831ab79b7fdeb13a6ac22595bff1a4449b635 (diff) | |
| download | dotfiles-14513b2e05c36762e0dc543b62291d296c081b1a.tar.gz dotfiles-14513b2e05c36762e0dc543b62291d296c081b1a.zip | |
More on polishing
| -rw-r--r-- | nginx_unicorn/nginx.server.conf | 1 | ||||
| -rw-r--r-- | nginx_unicorn/unicorn.rb | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nginx_unicorn/nginx.server.conf b/nginx_unicorn/nginx.server.conf index bc06d5c..034ba3c 100644 --- a/nginx_unicorn/nginx.server.conf +++ b/nginx_unicorn/nginx.server.conf @@ -6,7 +6,6 @@ server { listen 80 default deferred; # server_name the_name_of_my_server; - # TODO: Change it at your own needs root /my/app/public/root; try_files $uri/index.html $uri @unicorn; location @unicorn { diff --git a/nginx_unicorn/unicorn.rb b/nginx_unicorn/unicorn.rb index b0f194f..09bea64 100644 --- a/nginx_unicorn/unicorn.rb +++ b/nginx_unicorn/unicorn.rb @@ -1,7 +1,8 @@ ## -# This is the configuration file for Unicorn. It m +# This is the configuration file for Unicorn. -# TODO: Change it at your own needs + +# Feel free to change any of the following constants for your app: WD = '/my/app/root' NCORES = `cat /proc/cpuinfo | grep 'cores' | uniq | sed 's/[^0-9]//g'`.to_i |
