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 ?