摘要:
一.默认采用轮询机制,配置方式如下: upstream note.java.itcast.cn{ server localhost:8080; server localhost:8081; } server { listen 80; server_name note.java.itcast.cn; 阅读全文
posted @ 2020-02-07 20:39
怀鑫
阅读(113)
评论(0)
推荐(0)
摘要:
反向代理的目的 : 不暴露真实IP地址,安全性更高 一. 修改c盘hosts文件(C:\Windows\System32\drivers\etc) 在文件末尾添加你的代理地址 二.修改nginx.conf配置文件 server { listen 80; server_name note.java.i 阅读全文
posted @ 2020-02-07 20:28
怀鑫
阅读(320)
评论(0)
推荐(0)