niginx的正向代理和 反向代理
參考1. shangguigu 教程
2. https://www.jianshu.com/p/5c23b09d443f
1.正向; 如 啓動ngixn後, 訪問分配生成的 localhost:8091 後直接訪問導資源 xxhtml
- 加了proxy_pass(可以還配負載均衡,即有其他多個地址指向upstream 裏面,也可以就一個如直接指向 百度首頁)
niginx的正向代理和 反向代理
參考1. shangguigu 教程
2. https://www.jianshu.com/p/5c23b09d443f
1.正向; 如 啓動ngixn後, 訪問分配生成的 localhost:8091 後直接訪問導資源 xxhtml