minimal nginx conf to split get/post requests
After a point the sql server becomes the bottleneck in lots of web application, and to scale, master-slave replication with single master, multiple slave is recommended. This setup with nginx can be used to accomplish traffic distribution between master and slave based on request method.
- middleware
- nginx
- loadbalancing
- master-slave