Configuring Nginx with Rails and PHP Together