OSDN Git Service

template: fix comment related problem
[newslash/newslash.git] / test-container / newslash.conf
1 ---
2
3 ACL:
4   exclude:
5     - '^/img/'
6     - '^/css/'
7     - '^/js/'
8     - '^/static/'
9     - '^/login'
10     - '^/logout'
11     - '^/banned'
12
13 Analytics:
14   tag: UA-739864-18
15
16 AntiCsrf:
17   disable: 0
18
19 BasicAuth:
20   enable: 0
21   message: hoge
22   password: bar
23   username: foo
24
25 Comments:
26   allowed_tags:
27     a:
28       - href
29     blockquote: []
30     i: []
31     strong: []
32
33 Database:
34   host: srad-test-db
35   name: slash
36   password: hoge
37   user: slash
38
39 Editor:
40   allowed_tags:
41     a:
42       - href
43     b: []
44     blockquote:
45       - title
46       - cite
47     br: []
48     dd: []
49     del: []
50     div: []
51     dl: []
52     dt: []
53     ecode: []
54     em: []
55     i: []
56     ins: []
57     li: []
58     ol:
59       - start
60     p: []
61     quote: []
62     strike: []
63     strong: []
64     sub: []
65     sup: []
66     tt: []
67     ul: []
68
69 Faculties:
70   comments:
71     1000:
72       - ipid
73       - subnetid
74   metamoderations:
75     1000:
76       - uid
77   moderations:
78     1000:
79       - ipid
80       - subnetid
81       - uid
82       - m2uid
83   stories:
84     1000:
85       - hits
86       - hitparade
87   submissions:
88     1000:
89       - ipid
90       - subnetid
91       - note
92       - comment
93
94 FeedFetcher:
95   fetch_timeout: 5
96   http_proxy: http://proxy:8080/
97   https_proxy: http://proxy:8080/
98
99 Hsts:
100   redirect_non_ssl: 0
101
102 HttpCompression:
103   enable: 1
104   mode: all
105
106 IndexPage:
107   story_per_page: 10
108
109 JavaScriptLoader:
110   config_file: public/js/bundle-config.json
111   mode: production
112   source_directory: public/js
113   use_bundle: 1
114   use_compression: 1
115
116 KeyValueStore:
117   host: newslash-redis:6379
118   index_number: 0
119   test_mode: 0
120   type: redis
121
122 Legacy:
123   memcached: sd-master:11211
124
125 Log:
126   access_log:
127     autoflush: 1
128     local_file: /var/log/newslash/access.log
129     mode: local_file
130   backtrace: 0
131   system_log:
132     level: info
133     local_file: /var/log/newslash/newslash.log
134     mode: local_file
135
136 MemoryCache:
137   max_keys: 1000
138   test_mode: 0
139
140 Polls:
141   TTL: 120
142   TTL_unit: days
143   vote_cooling_seconds: 300
144
145 Preprocessor:
146   less:
147     command: /usr/bin/nodejs
148     content-type: text/css
149     options:
150       - --no-deprecation
151       - /usr/bin/lessc
152       - --include-path=./css
153       - --no-color
154       - '-'
155   targets:
156     css/newslash.css:
157       source: css/newslash.less
158       type: less
159   use_compression: 1
160
161 Profiler:
162   enable: 0
163   profiler: nytprof
164
165 ReCaptcha:
166   enable: 0
167   secret_key: 6LcPlyIUAAAAAIlTdXjw3tIz_U-lUwW45RudOXfR
168   site_key: 6LcPlyIUAAAAAN2d4Gw4q2DWLtFCDYmn5tSVqS3w
169
170 Repository:
171   path: /var/newslash/repository
172
173 ResponseFilter:
174   enable: 0
175   faculities:
176     comments:
177       1000:
178         - ipid
179         - subnetid
180     metamoderations:
181       1000:
182         - uid
183     moderations:
184       1000:
185         - ipid
186         - subnetid
187         - uid
188         - m2uid
189     stories:
190       1000:
191         - hits
192         - hitparade
193     submissions:
194       1000:
195         - ipid
196         - subnetid
197         - note
198         - comment
199
200 Search:
201   searchd_host: 127.0.0.1
202   searchd_port: 6000
203
204 Searchd:
205   index_path: /var/newslash/lucene_index
206
207 Site:
208   base_url: https://test.srad.jp
209   css_path: /css
210   description: yet another srad
211   img_path: /img
212   js_path: /js
213   name: srad
214   root: /
215   topic_icon_base_url: /img/topic_icon
216
217 Story:
218   submission_karma_bonus: 3
219   title_max_byte: 100
220
221 System:
222   readonly: 0
223   salt: ''
224   secret_key: njknQNIODGinkladf
225   session_store: kvs
226   static_dir: []
227
228 Timeline:
229   item_per_page: 20
230   popular_period:
231     hours: 6
232
233 hypnotoad:
234   listen:
235     - http://0.0.0.0:80
236   pid_file: /var/run/newslash/newslash.pid