摘要: 一、准备环境: 主(Master)机IP: 192.168.0.83 从(Slave) 机IP: 192.168.0.80 二、向主(Master)机添加远程登录的授权用户 1.向主(Master)服务器添加用户: @ 用户名: slave1 @ 密 码: 789 @ 允许自: 192.168.0.80 机器登录 授权方式1: 此种授权是可远... 阅读全文
posted @ 2018-12-30 16:03 半醉半醒201 阅读(136) 评论(0) 推荐(0)
摘要: location / { proxy_pass http://mywork; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_a 阅读全文
posted @ 2018-12-30 14:04 半醉半醒201 阅读(171) 评论(0) 推荐(0)