NB! NB! NB! NB! NB! NB!
This article is undergoing a major re-write and testing. It is NOT consistent, coherent or correct!
Please do not use it yet!
Set up a GNUMP stack on Ubuntu Server 14.04: Galera, Nginx, Ubuntu, MariaDB, PHP
1. Set up nginx
Assuming web server IP is 10.42.0.75 and 3-node DB cluster is 10.42.0.62/63/64
First remove apache: