Nginx configuration expert

Closed - This job posting has been filled and work has been completed.

Job Description

I have an nginx server that hosts two applications. One is wordpress blog and second is the ruby on rails application.

I'm able to host wordpress as a subdomain for the rails app, but I would like to get wordpress within app, so it would be more like: is a rails app is a wordpress app with all its pieces

Both applications are located in separate directories, they have different roots.

I need someone that could help me out with the config.

If you have an example app the run mentioned configuration, just post me a link so I can see if that is what I look for.