installed nginx in two locations but one conf file

I am totally new to linode and bit experienced with linux. But I find the tutorial invaluable for me.

I am just setting up my linode and started already 3 times. I am happy start 4th time if suggested so.

I want to have nginx + php and RoR support (for my projects and because of Redmine).

So I followed LEMP guide and everything worked fine and then I followed redmine installation guide and ended up with two instances of nginx. And the redmine is not working.

Redmine installation guide 'installed' nginx into different location.

Could somebody suggest what the best thing to do is to have only one working nginx with php and RoR support?

If I follow redmine guide does the setting 'user = redmine' mean that nginx runs under redmine account? I will not have only redmine running on my linode. Is it better to keep nginx running under www-data?

Thank you for your help.

R

2 Replies

I'm running both php and rails with one web server instance. I switched from lighttpd to nginx recently, and decided to run redmine via phusion passenger. It's working nice for me.

Additionally if I ever need more rails apps, virtual host configuration is a piece of cake.

You can find more info about this at modrails.com

@melon:

I'm running both php and rails with one web server instance. I switched from lighttpd to nginx recently, and decided to run redmine via phusion passenger. It's working nice for me.

Additionally if I ever need more rails apps, virtual host configuration is a piece of cake.

You can find more info about this at modrails.com
It's working now, thank you.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct