Hi all, i test this config with nginx instead perlbal and works with fine.. if you want to use nginx for perlbal you should use nginx version >= 0.6.27 ...
Pazar 16 Mart 2008 tarihinde, Timu EREN şunları yazmıştı:
> Hi,
> Maybe you can use this nginx config, i dont test yet, if you can test you
> should write private or public e-mail for works or not,
>
> location / {
> proxy_pass http://tracker;
>
> # tracker should return
> # X-Accel-Redirect: /reproxy
> # x-reproxy-url: http://host/new/url
> }
>
> location = /reproxy {
> internal;
>
> set $reproxy $upstream_http_x_reproxy_url;
> proxy_pass $reproxy;
>
> resolver 127.0.0.1;
> }
>
> Pazar 16 Mart 2008 tarihinde, [EMAIL PROTECTED] şunları yazmıştı:
> > Thank you very much for detailed infos, I will test it in next weeks.
> > Btw. can nginx handle also role of perlbal or its reproxy features are
> > not so advanced to do transparent reproxy? I was going trough nginx
> > manual but couldnt find anything like this.
> >
> > Goodwill
> > ______________________________________________________________
> >
> > >You could set "server=none" option /etc/mogilefs/mogstored.conf to use
> >
> > mogstored for disk usage info collecting only. We have sucessfully used
> > Nginx as WebDAV backend.
> >
> > >Here is our testing mogstored config file
> > > (/etc/mogilefs/mogstored.conf): mgmtlisten=0.0.0.0:7501
> > > docroot=/var/lib/mogdata/ server=none
> > >Here is our Nginx testing config file
> > > (/usr/local/nginx/conf/nginx.conf):
> > >
> > >user nobody; worker_processes 5; events { worker_connections 1024; }
> > > http
> >
> > { include conf/mime.types; default_type application/octet-stream;
> > sendfile on; keepalive_timeout 0; tcp_nodelay on; client_max_body_size
> > 100M; server { listen 7500; server_name localhost; charset utf-8;
> > location / { root /var/lib/mogdata/; dav_methods put delete mkcol copy
> > move; dav_access user:rw group:rw all:r; } error_page 500 502 503 504
> > /50x.html; location /50x.html { root html; } } }
> >
> > >[EMAIL PROTECTED] wrote: Do I need to upload all files to mogile over
> >
> > mogstored or I can do puts/gets over lighttpd/nginx and just keep
> > mogstored running on background to collect disk usage infos? I know there
> > is support for lighttpd in mogstored, but how could I use nginx instead?
> > Are there any disadvantages of such setup? Goodwill
--
Saygılar && İyi çalışmalar
Timu EREN (a.k.a selam)
signature.asc
Description: This is a digitally signed message part.
