HAProxy with HTTPD or Nginx as Revers Proxy
I want to boost up my website so i do a bit research on this. I've found many options such as :
Setup Nginx as reverse proxy by forward dynamic requests to HTTPD or php-fpm : For this which one is best option ? Can i setup php-fpm on few droplets as processing power and Nginx forward dynamic request to these php-fpm pool. I've searched on google about this but mostly only different pool on same machine not separate machine.
if I setup HAProxy as load balancer to apache ? Does it better than first option ? For example : I have 1 droplet setup HAProxy and other 2 droplet setup HTTP. I'm concerned about source code of the projects. Do I need copy each source code to each droplet and keep each one up to date ?
If you have better web server architecture plz recommend .