~cpick/mongrel2/release

« back to all changes in this revision

Viewing changes to docs/manual/inputs/filters.conf

  • Committer: Chris Pick
  • Date: 2013-06-30 16:39:57 UTC
  • mfrom: (1106.1.15)
  • Revision ID: git-v1:ec39967acb6bc9867ed9b9dc3774304ca6b9c294
Merge tag 'v1.8.1' into debian

Hotfix for github issue 148

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
null = Filter(name="/usr/local/lib/mongrel2/filters/null.so", settings={
 
2
        "extensions": ["*.html", "*.txt"],
 
3
        "min_size": 1000
 
4
        })
 
5
 
 
6
main = Server(
 
7
    uuid="f400bf85-4538-4f7a-8908-67e313d515c2",
 
8
    access_log="/logs/access.log",
 
9
    error_log="/logs/error.log",
 
10
    chroot="./",
 
11
    default_host="localhost",
 
12
    name="test",
 
13
    pid_file="/run/mongrel2.pid",
 
14
    port=6767,
 
15
    hosts = [
 
16
        Host(name="localhost", routes={
 
17
            '/tests/': Dir(base='tests/', index_file='index.html',
 
18
                             default_ctype='text/plain')
 
19
            '/nulltest/': Proxy(addr='127.0.0.1', port=8080)
 
20
        })
 
21
    ]
 
22
    filters = [null]
 
23
)
 
24
 
 
25
servers = [main]