File: app.yaml

package info (click to toggle)
libconfig-merge-perl 1.01-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 440 kB
  • ctags: 36
  • sloc: perl: 804; makefile: 2
file content (92 lines) | stat: -rw-r--r-- 3,154 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Global config file

---
#=======================================================================
root:                           /srv/www/sites/example
#=======================================================================

#=======================================================================
webserver:
#=======================================================================
    virtual_hosts:
        - sites:            example1 example2
          http:             *:80
          https:            *:443
          aliases:
              example1.co.uk:      example1
              example2.co.uk:      examples
          options:
                name_virtual_host: 0
                listen:            0

#=======================================================================
feed_parser:
#=======================================================================
    incoming_dir:       cron/feed/incoming
    working_dir:        cron/feed/working
    archive_dir:        cron/feed/archive
    log_dir:            cron/feed
    send_user_emails:   0

#=======================================================================
images:
#=======================================================================
    path:                       /var/images/
    autolevels:                 1
    jpeg:
        jpegquality:            80
    large:
        X:                      600
        Y:                      600
    medium:
        X:                      160
        Y:                      160
        min_ratio:              0.5
    small:
        X:                      100
        Y:                      100
        min_ratio:              0.5

#=======================================================================
upload:
#=======================================================================
    max_size:
        total:                  3500000
        file:                   2500000
    types:
      - image/bmp
      - image/gif
      - image/jpef
      - image/jpeg
      - image/pjpeg
      - image/png
      - image/pnm
      - image/raw
      - image/rgb
      - image/tga
      - image/tiff
    path:                       /var/images/temp/
    expiry:                     900

#=======================================================================
search:
#=======================================================================
    rows:                       10
    cache_pages:                3
    show_pages:                 9
    expiry:                     300

#=======================================================================
accounting:
#=======================================================================
    vat_rate:                   0.175
    email:
        to:                     john@example.com
        from:                   jack@example.com
        text: |
                                Please find attached this month's invoice for
                                hosting, plus a spreadsheet containing
                                a breakdown of your announcements.

    temp_dir:                   cron/accounts/temp/
    archive_dir:                cron/accounts/archive/