2017-08-04 46 views
2

在Ubuntu上使用反向代理與Apache2的:AH00959:ap_proxy_connect_backend禁止工人

<VirtualHost test.com:80> 
ProxyPreserveHost On 
    ProxyRequests On 
ServerName test.com 
ServerAdmin [email protected] 
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 

感謝。

回答