Replies: 5 comments
-
当前 Openresty 是 host 模式 代理容器时 填写 127.0.0.1:容器端口即可 |
Beta Was this translation helpful? Give feedback.
-
这里的意思是我不想将容器的端口映射出来,希望直接通过docker网络访问容器内部端口并反代容器 |
Beta Was this translation helpful? Give feedback.
-
那你可以把 OpenResty 的 host 模式删除 networks: 或者你容器的 Docker 网络 |
Beta Was this translation helpful? Give feedback.
-
OpenResty的host模式是不需要更改的,需要的是在反代的时候能够通过容器名称反代,不需要将容器的内部端口映射出来 |
Beta Was this translation helpful? Give feedback.
-
host 模式下通过容器名称反代 需要解决容器名称的解析问题 你有解决方案吗? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
1Panel 版本
v1.10.13-lts
请描述您的需求或者改进建议
请描述你建议的实现方案
No response
附加信息
No response
Beta Was this translation helpful? Give feedback.
All reactions