changing configures...
This commit is contained in:
parent
8c988be7d9
commit
b9d3930c61
2 changed files with 4 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue