From b9d3930c6165b9401477ef36b1c856b805a988f6 Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Fri, 18 Jun 2010 17:56:12 -0700 Subject: [PATCH] changing configures... --- config/diaspora.conf | 9 +++------ config/thin.yml | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/config/diaspora.conf b/config/diaspora.conf index 5bef74eb9..e5e3cd768 100644 --- a/config/diaspora.conf +++ b/config/diaspora.conf @@ -1,15 +1,12 @@ upstream thin_cluster { - server unix:/tmp/thin.0.sock; - server unix:/tmp/thin.1.sock; - server unix:/tmp/thin.2.sock; - server unix:/tmp/thin.3.sock; + server unix:/tmp/thin.sock; } server { listen 80; - server_name localhash.com www.localhash.com; - root /opt/applications/example; + server_name babycakes.sofaer.net www.babycakes.sofaer.net; + root /usr/local/app/diaspora/current; location / { proxy_set_header X-Real-IP $remote_addr; diff --git a/config/thin.yml b/config/thin.yml index 7f37f5d96..30408b92a 100644 --- a/config/thin.yml +++ b/config/thin.yml @@ -8,7 +8,7 @@ require: [] max_persistent_conns: 512 #environment: production -servers: 4 +servers: 1 daemonize: true #chdir: /usr/applications/localhash/current socket: /tmp/thin.sock