mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Adding nginx health check. Fixing ssh keys.
This commit is contained in:
parent
f9dd57a531
commit
888778b670
2 changed files with 2 additions and 1 deletions
|
@ -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
2
fabfile.py
vendored
|
@ -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():
|
||||
|
|
Loading…
Add table
Reference in a new issue