2011年2月3日星期四

Re: redmine and nginx

On Fri, Feb 4, 2011 at 12:36 AM, nahte <nginx-forum@nginx.us> wrote:
> 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;
>        }
>

This is not how passenger works. Actually, the one you should read is
passenger's documentation. How to achieve what you want is explained
there.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx

没有评论:

发表评论