redmine and nginx

Pascal Nitsche pascal.nitsche at fansubcode.org
Fri Feb 4 01:10:37 MSK 2011


You may also read the redmine documentation about installing redmine in a subdirectory. There are a few specialties.



"nahte" <nginx-forum at nginx.us> schrieb:

>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
>
>
>_______________________________________________
>nginx mailing list
>nginx at nginx.org
>http://nginx.org/mailman/listinfo/nginx

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.



More information about the nginx mailing list