摘要: 阅读全文
posted @ 2021-11-20 23:05 富坚老贼 阅读(18) 评论(0) 推荐(0) 编辑
摘要: server { listen 80; server_name 192.166.208.88; return 301 https://$server_name$request_uri; } # HTTPS server # server { listen 443 ssl; server_name 1 阅读全文
posted @ 2021-11-20 23:01 富坚老贼 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 动态通过反向代理 阅读全文
posted @ 2021-11-20 22:29 富坚老贼 阅读(21) 评论(0) 推荐(0) 编辑
摘要: Rewrite 阅读全文
posted @ 2021-11-20 22:06 富坚老贼 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-11-20 12:50 富坚老贼 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-11-20 09:33 富坚老贼 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 一、七层负载均衡 在反向代理的基础上,把用户请求根据指定算法分发到一组 upstream虚拟服务池 后台启动两个网站 5000 6001 upstream 后的名字 www.test.com 是随便起的,最好是见名知意 weigth 表示访问到该网址的权重,数字越大访问到的几率越大 配置后重启 up 阅读全文
posted @ 2021-11-20 09:32 富坚老贼 阅读(40) 评论(0) 推荐(0) 编辑