diff --git a/config/sprinkle/conf/nginx.conf b/config/sprinkle/conf/nginx.conf index da27b393b..eba9fa45b 100644 --- a/config/sprinkle/conf/nginx.conf +++ b/config/sprinkle/conf/nginx.conf @@ -33,6 +33,8 @@ http { # gzip_disable "MSIE [1-6]\.(?!.*SV1)"; upstream thin_cluster { server unix:/tmp/thin.0.sock; + server unix:/tmp/thin.1.sock; + server unix:/tmp/thin.2.sock; } server { diff --git a/config/thin.yml b/config/thin.yml index 7a74769cf..6a00fdb6c 100644 --- a/config/thin.yml +++ b/config/thin.yml @@ -14,7 +14,7 @@ require: [] max_persistent_conns: 512 environment: production -servers: 1 +servers: 3 daemonize: true #chdir: /usr/applications/localhash/current socket: /tmp/thin.sock