gpt4 book ai didi

ubuntu - AH00959 : ap_proxy_connect_backend disabling worker

转载 作者:太空宇宙 更新时间:2023-11-03 16:57:57 27 4
gpt4 key购买 nike

在 ubuntu 上使用 apache2 的反向代理:

<VirtualHost test.com:80>
ProxyPreserveHost On
ProxyRequests On
ServerName test.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/test
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

ProxyPass /login http://127.0.0.1:8080/login
ProxyPassReverse /login http://127.0.0.1:8080/login
ProxyPass /api http://127.0.0.1:8080/api
ProxyPassReverse /api http://127.0.0.1:8080/api

我有 apache2 错误

(111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:8080 (127.0.0.1) failed
AH00959: ap_proxy_connect_backend disabling worker for (127.0.0.1) for 60s

谢谢。

最佳答案

在我的例子中,我执行了以下命令:

/usr/sbin/setsebool -P httpd_can_network_connect 1

关于ubuntu - AH00959 : ap_proxy_connect_backend disabling worker,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45503758/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com