I have a config file for mydomain.com which is served with Drupal. Problem is this rewrite rule takes the control over any request:
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?q=$1 last;
}
What I'd like to do, is to make mydomain.com/about_me to point to another app which I've written in Rails.
Currently Drupal is served with PHP CGI on port 9000. I tried adding lines to Nginx config such as:
location /about_me {
proxy_pass $scheme://127.0.0.1:3000;
}
Thanks for suggestions.