大佬好,请教一个技术问题

fastcgi_pass 127.0.0.1:9001;
openresty 里面 127.0.0.1 理论上会访问到 openresty内部的127,为啥能找到 php 容器的127,我理解的应该是 容器名:9001 这种形式

因为 openresty 用的 host 模式,直接使用宿主机的网络

好的,我研究下,谢谢大佬。点赞