Add support of load balancing (multiple backends)
Koc opened this issue · 1 comments
Koc commented
Add support of load balancing (multiple backends)
TXMuc commented
If you don't use php-fpm, i might have a solution:
https://github.com/TXMuc/ApcBundle
I added a config parameter 'ip':
#app/config/config.yml
ornicar_apc:
host: yourhost.tld
...
mode: curl
ip: 127.0.0.1
If the ip
parameter is set and curl is used, the http request is sent to the configured IP address (localhost!) with Host:yourhost.tld
in the HTTP header.
This should work on any servers behind the load balancer.