当前位置: 动力学知识库 > 问答 > 编程问答 >

Configure NGINX for multiple rails app

问题描述:

I am running an instance of redmine on the root dir. I am trying to set up another rails app on the same server.

I tried with the location directive, but it just redirects to 404 page of redmine.

here's my config

passenger_enabled on;

root /var/data/redmine/public;

location /app2{

root /var/data/app2/start;

}

网友答案:

Got it working through unicorn.

分享给朋友:
您可能感兴趣的文章:
随机阅读: