Listen to unix socket in production by default

This commit is contained in:
Jonne Haß 2015-05-19 11:08:41 +02:00
parent 898e8d5912
commit ebe0c76040
2 changed files with 3 additions and 3 deletions

View file

@ -192,7 +192,7 @@ development:
autofollow_on_join: false autofollow_on_join: false
autofollow_on_join_user: '' autofollow_on_join_user: ''
production: production:
i_am_a_dummy: # Remove if you add an actual override listen: 'unix:tmp/diaspora.sock'
test: test:
environment: environment:
url: 'http://localhost:9887/' url: 'http://localhost:9887/'

View file

@ -140,10 +140,10 @@ configuration: ## Section
## Settings affecting how ./script/server behaves. ## Settings affecting how ./script/server behaves.
server: ## Section server: ## Section
## Where the appserver should listen to (default=0.0.0.0:3000) ## Where the appserver should listen to (default=unix:tmp/diaspora.sock)
#listen: '127.0.0.1:3000'
#listen: 'unix:tmp/diaspora.sock' #listen: 'unix:tmp/diaspora.sock'
#listen: 'unix:/run/diaspora/diaspora.sock' #listen: 'unix:/run/diaspora/diaspora.sock'
#listen: '127.0.0.1:3000'
## Rails environment (default='development'). ## Rails environment (default='development').
## The environment in which the server should be started by default. ## The environment in which the server should be started by default.