redmine and nginx
nahte
nginx-forum at nginx.us
Thu Feb 3 20:36:00 MSK 2011
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 ?
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,171945,171945#msg-171945
More information about the nginx
mailing list