fixed issue #6 whereby nginx gets started before apache and returns a 502 error