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