摘要: 【Nginx】负载配置 upstream gateway { ip_hash; server 192.168.0.100:8765; server 192.168.0.200:8765; } location ~ ^/api { proxy_pass http://gateway; } ip_has 阅读全文
posted @ 2021-12-08 16:53 翠微 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 【CentOS7】SCP服务器间传文件 scp是secure copy的简写,是linux系统下基于ssh登陆进行安全的远程文件拷贝命令。linux的scp命令可以在linux服务器之间复制文件和目录。和它类似的命令有cp,不过cp只是在本机进行拷贝不能跨服务器 命令格式:scp [参数] [原路径 阅读全文
posted @ 2021-12-08 10:08 翠微 阅读(1340) 评论(0) 推荐(0) 编辑