摘要:
vhost和server对应 vhost的匹配逻辑 在请求nginx时,判断请求属于哪个vhost,主要是server块中的listen和server_name两个字段决定 listen listen字段定义server响应的ip和端口,如果没有明确配置listen字段,默认监听0.0.0.0:80 阅读全文
posted @ 2022-10-27 17:31
焦耳|程
阅读(174)
评论(0)
推荐(0)
摘要:
Introduction Nginx is one of the most popular web servers in the world. It can successfully handle high loads with many concurrent client connections, 阅读全文
posted @ 2022-10-27 17:29
焦耳|程
阅读(51)
评论(0)
推荐(0)
摘要:
前端发起这样的请求: http://192.168.0.2/test/aaa.txt proxy_pass可以分为以下12种情况 Scenario 1 ... location ^~ /test { ... proxy_pass http://127.0.0.1; } 代理后的实际URL为: htt 阅读全文
posted @ 2022-10-27 16:24
焦耳|程
阅读(538)
评论(0)
推荐(0)

浙公网安备 33010602011771号