#!/usr/local/env bash

#该脚本的作用是：同步所有nginx 配置

rsync -ave 'ssh' 10.117.64.45:/data/zuan/.htaccess /data/zuan/

rm -rf /etc/nginx/*

rsync -ave 'ssh' 10.117.64.45:/etc/nginx/* /etc/nginx/

sh /usr/local/sbin/nginx-ip.sh
