nginx反向代理配置

1、访问www.123.com:8080跳转到127.0.0.1:8080 配置文件如下: listen: 监听的端口 server_name: 请求地址 proxy_pass: 目标地址 2、访问不同地址跳转不同服务器 nginx 监听端口为 9001, 访问 http://127.0.0.1:9001/edu/ 直接跳转到 127.0.0.1:8081 访问 http://127.0.0.1:
相关文章
相关标签/搜索