Example #1
0
def nginx_clean(ctx, remote_path, nginx_list, key_file, user):
    hosts = _load_nginx_hosts(nginx_list)
    sshs = [get_ssh(host, key_file, user) for host in hosts]
    clean_nginx(sshs, remote_path)
Example #2
0
def nginx_clean(ctx, remote_path, nginx_list, key_file, user):
    hosts = _load_nginx_hosts(nginx_list)
    sshs = [get_ssh(host, key_file, user) for host in hosts]
    clean_nginx(sshs, remote_path)
Example #3
0
def nginx_reload(ctx, local_path, remote_path, nginx_list, key_file, user):
    hosts = _load_nginx_hosts(nginx_list)
    sshs = [get_ssh(host, key_file, user) for host in hosts]
    reload_nginx(sshs, local_path, remote_path)
Example #4
0
def nginx_reload(ctx, local_path, remote_path, nginx_list, key_file, user):
    hosts = _load_nginx_hosts(nginx_list)
    sshs = [get_ssh(host, key_file, user) for host in hosts]
    reload_nginx(sshs, local_path, remote_path)