<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=windows-1250"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
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.<br>
Here is our testing mogstored config file
(/etc/mogilefs/mogstored.conf):<br>
<span>
<pre>mgmtlisten=0.0.0.0:7501
docroot=/var/lib/mogdata/
server=none</pre>
</span><br>
Here is our Nginx testing config file
(/usr/local/nginx/conf/nginx.conf):<br>
<br>
<span>
<pre>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 <b>100M</b>;
    server {
        listen <b>7500</b>;
        server_name localhost;
        charset utf-8;
        location / {
            root <b>/var/lib/mogdata/</b>;
            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;
        }
    }
}</pre>
</span><br>
<a class="moz-txt-link-abbreviated" href="mailto:dangalist@centrum.cz">dangalist@centrum.cz</a> wrote:
<blockquote cite="mid:200803152306.20188@centrum.cz" type="cite">
  <pre wrap="">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


  </pre>
</blockquote>
<br>
</body>
</html>