小编EL *_*bib的帖子

AH00959: ap_proxy_connect_backend 禁用工作程序

要在 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
Run Code Online (Sandbox Code Playgroud)

我有 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
Run Code Online (Sandbox Code Playgroud)

谢谢。

ubuntu reverse reverse-proxy apache2 ubuntu-16.04

4
推荐指数
1
解决办法
4万
查看次数

标签 统计

apache2 ×1

reverse ×1

reverse-proxy ×1

ubuntu ×1

ubuntu-16.04 ×1