【发布时间】:2021-03-18 10:34:10
【问题描述】:
我参考了以下链接并配置了代理。
https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html
当我在 Apache 2.4 中的 httpd.conf 文件中为单个应用程序配置代理时,代理配置工作正常。我可以通过代理服务器 URL 访问我的应用程序。
ProxyPass / http://host1:8888/
ProxyPassReverse / http://host1:8888/
但是,如果我尝试为以下两个应用程序配置,我将无法访问任何应用程序。
ProxyPass /nifi http://host1:8888/
ProxyPassReverse /nifi http://host1:8888/
ProxyPass /kibana http://host2:5601/
ProxyPassReverse /kibana http://host2:5601/
【问题讨论】:
-
我也尝试将它们放在双引号中......它仍然无法正常工作......
标签: linux apache proxy reverse-proxy httpd.conf