Apacheのプロキシタイムアウトの増加
雑種がより長いクエリを実行するような使用例では、Apache が雑種からの応答を受け取らないため、ユーザーはプロキシエラーを経験するかもしれません。 以下の設定は、可能なタイムアウト値を増やすものである。
# tell Apache where to find static files /aspera/orchestrator
Alias /aspera/orchestrator/images "/opt/aspera/orchestrator/public/images"
Alias /aspera/orchestrator/stylesheets "/opt/aspera/orchestrator/public/stylesheets"
Alias /aspera/orchestrator/javascripts "/opt/aspera/orchestrator/public/javascripts"
Alias /aspera/orchestrator/my/images "/opt/aspera/var/config/orchestrator/web/images"
Alias /aspera/orchestrator/my/stylesheets "/opt/aspera/var/config/orchestrator/web/stylesheets"
Alias /aspera/orchestrator/my/javascripts "/opt/aspera/var/config/orchestrator/web/javascripts"
<Directory "/opt/aspera/orchestrator/public">
Options -Indexes +FollowSymLinks
AllowOverride none
Order allow,deny
Allow from all
</Directory>
<Directory "/opt/aspera/var/config/orchestrator/web">
Options -Indexes -FollowSymLinks
AllowOverride none
Order allow,deny
Allow from all
</Directory>
ProxyTimeout 1200
<Proxy balancer://orchestrator_cluster>
BalancerMember http://127.0.0.1:3000
BalancerMember http://127.0.0.1:3001
BalancerMember http://127.0.0.1:3002
BalancerMember http://127.0.0.1:3003
BalancerMember http://127.0.0.1:3004
</Proxy>
# don't proxy static files, serve directoy
ProxyPass /aspera/orchestrator/images !
ProxyPass /aspera/orchestrator/stylesheets !
ProxyPass /aspera/orchestrator/javascripts !
ProxyPass /aspera/orchestrator/my/images !
ProxyPass /aspera/orchestrator/my/stylesheets !
ProxyPass /aspera/orchestrator/my/javascripts !
# send the proxy request
# @web_root starts with / if not nil
ProxyPass /aspera/orchestrator balancer://orchestrator_cluster/aspera/orchestrator timeout=1200