Welcome! Log In Create A New Profile

Advanced

redmine and nginx

February 03, 2011 12:36PM
Hello everyone! Why this config worked
[code]
server {
...

#location / {
# root path_to_my_site;
# index index.php index.html index.htm;
#}

location / {
root /srv/www/redmine/redmine/public/;
access_log /srv/www/redmine/redmine/log/access.log;
error_log /srv/www/redmine/redmine/log/error.log;
index index.html index.htm;
passenger_enabled on;
allow all;
}

...
}
[/code]


and this not
[code]
server {
...

location / {
root path_to_my_site;
index index.php index.html index.htm;
}

location /redmine {
root /srv/www/redmine/redmine/public/;
access_log /srv/www/redmine/redmine/log/access.log;
error_log /srv/www/redmine/redmine/log/error.log;
index index.html index.htm;
passenger_enabled on;
allow all;
}

...
}
[/code]


or exist another method to move redmine from mydomain.com to mydomain.com/redmine ?
Subject Author Posted

redmine and nginx

nahte February 03, 2011 12:36PM

Re: redmine and nginx

edogawaconan February 03, 2011 01:58PM

Re: redmine and nginx

Pascal Nitsche February 03, 2011 05:14PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 254
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready