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