玩!框架:Apache mod_proxy 偶爾會傳遞代理錯誤

玩!框架:Apache mod_proxy 偶爾會傳遞代理錯誤

後端是一個 Play!框架應用。

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /entries/topic~showcase

Reason: Error reading from remote server

Apache/2.2.22

這是網站配置:

<VirtualHost *:80>
  ProxyPreserveHost On
  ServerName www.xxx.com
  ServerAlias xxx.com
  ProxyPass  /excluded !
  ProxyPass /investor http://127.0.0.1:81/investor
  ProxyPass /phppgadmin http://127.0.0.1:81//phppgadmin
  ProxyPass / http://127.0.0.1:9000/ keepalive=On
  ProxyPassReverse / http://127.0.0.1:9000/
</VirtualHost>

添加後保持活動=開,我可以注意到有所改善。但仍然出現代理錯誤!

相關內容