Adding nginx health check. Fixing ssh keys.

This commit is contained in:
Samuel Clay 2013-07-30 19:16:12 -07:00
parent f9dd57a531
commit 888778b670
2 changed files with 2 additions and 1 deletions

View file

@ -67,6 +67,7 @@ backend node_favicon
backend nginx
balance roundrobin
option httpchk GET /_nginxchk
server nginxdebug 127.0.0.1:81 check inter 2000ms
backend gunicorn

2
fabfile.py vendored
View file

@ -332,7 +332,7 @@ def setup_user():
def copy_ssh_keys():
put(os.path.join(env.SECRETS_PATH, 'keys/newsblur.key.pub'), "local_keys")
run("echo `cat local_keys` >> .ssh/authorized_keys")
run("echo `\ncat local_keys` >> .ssh/authorized_keys")
run("rm local_keys")
def setup_repo():