Page MenuHomePhabricator

Apache config with sticky loadbalancer

Authored By
Joe
Oct 4 2018, 7:46 AM
Size
1 KB
Referenced Files
None
Subscribers
None

Apache config with sticky loadbalancer

# First set the PHP_ENGINE cookie if not present in the request.
# We stick to HHVM for now
SetEnvIf Cookie "PHP_ENGINE=.*" session_cookie_set
RequestHeader append Cookie "PHP_ENGINE=.HHVM; path=/;" !session_cookie_set
<Proxy "fcgi://backend">
BalancerMember "fcgi://127.0.0.1:9000" route="HHVM"
BalancerMember "fcgi://127.0.0.1:8000" route="PHP"
ProxySet stickysession=PHP_ENGINE
</Proxy>

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6503665
Default Alt Text
Apache config with sticky loadbalancer (1 KB)

Event Timeline