Load balance php web app between 2 servers + 1 MariaDB server

Issues related to configuring your network
Post Reply
Karentutor1
Posts: 2
Joined: 2017/05/22 02:07:38

Load balance php web app between 2 servers + 1 MariaDB server

Post by Karentutor1 » 2018/06/18 04:20:54

Hi,

I would like to try hosting my php web app on 2 servers with Apache behind an nginx reverse proxy and a third server with my MariaDB database.It is a php website with log in sessions.


I am a little unclear - do I just have the exact same files on 2 different servers with some session tracking (sticky) load balancing by nginx?

How do I divide my files?

Also anyone have any reading suggestions on this? (Server configurations?)


Thanks!
Karen

Post Reply