I'm getting an error with nginx, php and word press - 502 Bad Gateway

view story

http://askubuntu.com – Using the sample recipe I am deploying a wordpress solution on EC2: juju bootstrap --constraints "instance-type=t1.micro" juju set-constraints instance-type=t1.micro juju debug-log juju deploy mysql wordpress-db juju deploy wordpress juju add-relation wordpress wordpress-db juju expose wordpress After this I point my browser to the public url and get the error: 502 Bad Gateway nginx/1.1.19 Looking at the debug log I see this error: 2012-11-10 20:08:19,083 unit:wordpress/0: hook.output INFO: * Restarting PHP5 FastCGI Process Manager php5-fpm 2012-11-10 20:08:20,267 unit:wordpress/0: hook (HowTos)