Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 461 lines (397 sloc) 14.355 kB
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
1 #
2 # r2 - Pylons development environment configuration
3 #
4 # The %(here)s variable will be replaced with the parent directory of this file
5 #
6 [DEFAULT]
e683889 @jedberg New Features
jedberg authored
7
8 # -- debug and configuation flags --
9 # global debug flag -- displays pylons stacktrace rather than 500 page on error when true
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
10 debug = true
8b5cad8 Move toggle for template caching into its own .ini flag.
Max Goodman authored
11 # enables/disables whitespace removal (for development)
12 template_debug = false
13 # enables/disables compiled template caching and template file mtime checking
14 reload_templates = true
e683889 @jedberg New Features
jedberg authored
15 # use uncompressed static files (out of /static/js and /static/css)
16 # rather than compressed files out of /static (for development if true)
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
17 uncompressedJS = true
e683889 @jedberg New Features
jedberg authored
18 # enable/disable verbose SQL printing
9813d94 @jedberg Make reddit compatible with Postgres 8.3 and Python 2.6
jedberg authored
19 sqlprinting = false
e683889 @jedberg New Features
jedberg authored
20 # enable/disable writing errors as they occur to a rabbit-mq queue
a402d48 New features:
Mike authored
21 exception_logging = false
e683889 @jedberg New Features
jedberg authored
22 # whether to print a "reddit app started" message at start"
5ef76b9 @KeyserSosa New features:
KeyserSosa authored
23 log_start = true
e683889 @jedberg New Features
jedberg authored
24 # enable/disable logging for amqp/rabbitmq
25 amqp_logging = false
253c473 @jedberg * Add services and scripts to public repos for ease of reddit instal…
jedberg authored
26 # emergency measures: makes the site read only
27 read_only_mode = false
68a06c5 @spladug April 2011 Merge
spladug authored
28 # global switch for wiki write permissions
29 allow_wiki_editing = true
4758ac8 @spladug Make read-only mode slightly less frustrating.
spladug authored
30 # a modified read only mode used for cache shown during heavy load 503s
31 heavy_load_mode = false
253c473 @jedberg * Add services and scripts to public repos for ease of reddit instal…
jedberg authored
32
0cf053f Add blank announcement_message to example.ini.
Max Goodman authored
33 # a message placed in the infobar
34 announcement_message =
a86261f @andre-d Add a contextual description metatag for scrapers.
andre-d authored
35 # the site's tagline, used in the title and description
36 short_description = open source is awesome
37
e683889 @jedberg New Features
jedberg authored
38 # -- SECRETS! <-- update these first! --
39 # global secret
40 SECRET = abcdefghijklmnopqrstuvwxyz0123456789
41 # secret for making the modhash
42 MODSECRET = abcdefghijklmnopqrstuvwxyz0123456789
43 # secret for /prefs/feeds
44 FEEDSECRET = abcdefghijklmnopqrstuvwxyz0123456789
5721e46 @spladug Add validator that checks a secret key or admin cookie.
spladug authored
45 # used for authenticating admin API calls w/o cookie
46 ADMINSECRET = abcdefghijklmnopqrstuvwxyz0123456789
5ef76b9 @KeyserSosa New features:
KeyserSosa authored
47
7fff900 @ketralnis February 2011 Merge
ketralnis authored
48 INDEXTANK_API_URL =
49
d411cd5 Added support for disabling adds via config file
westmaas authored
50 # -- feature toggles --
51 disable_ads = false
92fdd42 Added option to disable captcha verification
gabe authored
52 disable_captcha = false
1ecb427 @andre-d Add an option to disable rate limiting. For testing.
andre-d authored
53 disable_ratelimit = false
d411cd5 Added support for disabling adds via config file
westmaas authored
54
e683889 @jedberg New Features
jedberg authored
55 # -- important settings --
56 # the domain that this app serves itself up as
7fff900 @ketralnis February 2011 Merge
ketralnis authored
57 domain = reddit.local
68a06c5 @spladug April 2011 Merge
spladug authored
58 # the short domain (like redd.it)
59 shortdomain =
e683889 @jedberg New Features
jedberg authored
60 # if you use www for the old-timey feel, put it here
61 domain_prefix =
62 # the user used for "system" operations and messages
63 system_user = reddit
64 # list of admin accounts
65 admins = reddit
66 # the default subreddit for submissions
67 default_sr = reddit.com
e6178be Make default header image URL configurable.
westmaas authored
68 # default header image url
50a5daa @spladug Allow static files to be served from other domains.
spladug authored
69 default_header_url = reddit.com.header.png
e683889 @jedberg New Features
jedberg authored
70
71 # time for the page cache (for unlogged in users)
72 page_cache_time = 90
73
74 # default localization for strings (when using python's locale.format)
75 locale = C
76 # default site language (two letter character code)
77 lang = en
c280c6a Fix handling of an unset language override.
Max Goodman authored
78 lang_override =
e7b672d @spladug Replace proxy_addr with option to trust proxies in 10.0.0.0/8.
spladug authored
79 # if your webserver is a proxy and on a different instance on the same 10.0.0.0/8 network
80 # set X-forwarded-for and set this to true
81 trust_local_proxies = false
e683889 @jedberg New Features
jedberg authored
82 # hash for validating HTTP_TRUE_CLIENT_IP_HASH
83 ip_hash =
84 # timezone for storing
85 timezone = UTC
86 # timezone for the database
87 display_timezone = MST
88 # secret key for accessing /shutdown
89 shutdown_secret = 12345
b847757 Use cross domain https for slightly safer login.
Max Goodman authored
90 # https api endpoint (must be g.domain or a subdomain of g.domain)
91 https_endpoint =
e683889 @jedberg New Features
jedberg authored
92 # name of the cookie to drop with login information
93 login_cookie = reddit_session
33b15bc @spladug Split the admin cookie out from the session cookie.
spladug authored
94 # name of the admin cookie
95 admin_cookie = reddit_admin
a311805 @spladug Switch to bcrypt for password hashing.
spladug authored
96 # the work factor for bcrypt, increment this every time computers double in
97 # speed. don't worry, changing this won't break old passwords
98 bcrypt_work_factor = 12
e683889 @jedberg New Features
jedberg authored
99
100 # fraction of requests to pass into the queue-based usage sampler
101 usage_sampling = 0.
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
102
e683889 @jedberg New Features
jedberg authored
103 # account used for default feedback messaging (can be #subreddit)
104 admin_message_acct = reddit
105
106
107 # -- caching options --
108 # data cache (used for caching Thing objects)
109 num_mc_clients = 5
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
110 memcaches = 127.0.0.1:11211
7fff900 @ketralnis February 2011 Merge
ketralnis authored
111 stalecaches =
e683889 @jedberg New Features
jedberg authored
112 # render caches (the second is "remote" and the local is optional but in the same format)
113 local_rendercache =
ae6ba7a added a separate set of memcaches for the render cache
spez authored
114 rendercaches = 127.0.0.1:11211
bf9f43c @KeyserSosa Messaging/commenting
KeyserSosa authored
115
67814d5 @ketralnis Features:
ketralnis authored
116 # -- permacache options --
117 # permacache is memcaches -> cassanda -> memcachedb
118 # memcaches that sit in front of cassandra
119 permacache_memcaches = 127.0.0.1:11211
120 # cassandra hosts. one of these will be chosen at random by pycassa
9a4271f @KeyserSosa Upgrade Instructions
KeyserSosa authored
121 cassandra_seeds = 127.0.0.1:9160
fcd3f3b @spladug Make cassandra connection pool size configurable.
spladug authored
122 # number of connections to keep open to the cassandra ring
123 cassandra_pool_size = 5
0ae8f2f @ketralnis 21 Jul 2010 merge
ketralnis authored
124 # read/write consistency levels for Cassandra
125 cassandra_rcl = ONE
7fff900 @ketralnis February 2011 Merge
ketralnis authored
126 cassandra_wcl = ONE
532be3f @spladug Allow Cassandra models to choose a connection pool.
spladug authored
127 # name of default connection pool to use when _connection_pool not specified
128 cassandra_default_pool = main
bf9f43c @KeyserSosa Messaging/commenting
KeyserSosa authored
129
e683889 @jedberg New Features
jedberg authored
130 # -- url cache options --
131 url_caches = 127.0.0.1:11211
132 # cassandra hosts. one of these will be chosen at random by pycassa
133 url_seeds =
134
135
136 # caches for storing number of times a link is rendered
137 incr_cache = udp:localhost:11211
138 incr_caches = localhost:11211
139 # recommender cache (depricated)
140 rec_cache = 127.0.0.1:11211
141
142 ## -- traffic tracking urls --
93a65a6 @spladug Move onload out of the app.
spladug authored
143 # domain to send tracking requests (see scripts/tracker.py)
144 tracking_domain = reddit.local
e683889 @jedberg New Features
jedberg authored
145 # image to render to track pageviews
146 tracker_url = /static/pixel.png
147 # images to render to track sponsored links
148 adtracker_url = /static/pixel.png
149 # image to render to track the ad frame
150 adframetracker_url = http://pixel.reddit.com/pixel/of_defenestration.png
151 # open redirector to bounce clicks off of on sponsored links for tracking
152 clicktracker_url = /static/pixel.png
7fff900 @ketralnis February 2011 Merge
ketralnis authored
153 # new pixel
154 newtracker_url =
e683889 @jedberg New Features
jedberg authored
155
156 # amqp
bf9f43c @KeyserSosa Messaging/commenting
KeyserSosa authored
157 amqp_host = localhost:5672
e683889 @jedberg New Features
jedberg authored
158 amqp_user = reddit
159 amqp_pass = reddit
bf9f43c @KeyserSosa Messaging/commenting
KeyserSosa authored
160 amqp_virtual_host = /
161
e683889 @jedberg New Features
jedberg authored
162 ## -- database setup --
163 # list of all databases named in the subsequent table
164 databases = main, comment, vote, email, authorize, award, hc
2a5f891 Moved database configuration from databases.py to the ini.
spez authored
165
7fff900 @ketralnis February 2011 Merge
ketralnis authored
166 db_user = reddit
167 db_pass = password
168 db_port = 5432
169 db_pool_size = 3
170 db_pool_overflow_size = 3
171
172 #db name db host user, pass, port, conn, overflow_conn
173 main_db = reddit, 127.0.0.1, *, *, *, *, *
174 comment_db = reddit, 127.0.0.1, *, *, *, *, *
175 comment2_db = reddit, 127.0.0.1, *, *, *, *, *
176 vote_db = reddit, 127.0.0.1, *, *, *, *, *
177 email_db = reddit, 127.0.0.1, *, *, *, *, *
178 authorize_db = reddit, 127.0.0.1, *, *, *, *, *
179 award_db = reddit, 127.0.0.1, *, *, *, *, *
180 hc_db = reddit, 127.0.0.1, *, *, *, *, *
e683889 @jedberg New Features
jedberg authored
181
7fff900 @ketralnis February 2011 Merge
ketralnis authored
182 hardcache_categories = *:hc:hc
37e2ba9 @ketralnis * Combine cassandra clusters into a single one
ketralnis authored
183
e683889 @jedberg New Features
jedberg authored
184 # this setting will prefix all of the table names
2a5f891 Moved database configuration from databases.py to the ini.
spez authored
185 db_app_name = reddit
e683889 @jedberg New Features
jedberg authored
186 # are we allowed to create tables?
2a5f891 Moved database configuration from databases.py to the ini.
spez authored
187 db_create_tables = True
9f0ec95 @spladug Split table definitions from db configuration.
spladug authored
188 # are we allowed to write at all?
189 disallow_db_writes = False
2a5f891 Moved database configuration from databases.py to the ini.
spez authored
190
191 type_db = main
192 rel_type_db = main
5ef76b9 @KeyserSosa New features:
KeyserSosa authored
193 hardcache_db = main
2a5f891 Moved database configuration from databases.py to the ini.
spez authored
194
9f0ec95 @spladug Split table definitions from db configuration.
spladug authored
195 # definitions of what each table is (probably shouldn't change in .update files)
196 # things require no extra info. relation is followed by the names of the related tables
197 db_table_link = thing
198 db_table_account = thing
199 db_table_message = thing
200 db_table_savehide = relation, account, link
201 db_table_click = relation, account, link
202 db_table_comment = thing
203 db_table_subreddit = thing
204 db_table_srmember = relation, subreddit, account
205 db_table_friend = relation, account, account
206 db_table_vote_account_link = relation, account, link
207 db_table_vote_account_comment = relation, account, comment
208 db_table_inbox_account_comment = relation, account, comment
209 db_table_inbox_account_message = relation, account, message
210 db_table_moderatorinbox = relation, subreddit, message
211 db_table_report_account_link = relation, account, link
212 db_table_report_account_comment = relation, account, comment
213 db_table_report_account_message = relation, account, message
214 db_table_report_account_subreddit = relation, account, subreddit
215 db_table_award = thing
216 db_table_trophy = relation, account, award
217 db_table_jury_account_link = relation, account, link
218 db_table_ad = thing
219 db_table_adsr = relation, ad, subreddit
220 db_table_flair = relation, subreddit, account
221
222 # which servers to find each table on (likely to change in .update files)
223 # first server listed is assumed to be the master, all others are read-only slaves
224 # additionally, a "!avoid_master" flag may be added to specify that reads should use the slaves
225 db_servers_link = main, main
226 db_servers_account = main
227 db_servers_message = main
228 db_servers_savehide = main
229 db_servers_click = main
230 db_servers_comment = comment
231 db_servers_subreddit = comment
232 db_servers_srmember = comment
233 db_servers_friend = comment
234 db_servers_vote_account_link = vote
235 db_servers_vote_account_comment = vote
236 db_servers_inbox_account_comment = main
237 db_servers_inbox_account_message = main
238 db_servers_moderatorinbox = main
239 db_servers_report_account_link = main
240 db_servers_report_account_comment = comment
241 db_servers_report_account_message = main
242 db_servers_report_account_subreddit = main
243 db_servers_award = award
244 db_servers_trophy = award
245 db_servers_jury_account_link = main
246 db_servers_ad = main
247 db_servers_adsr = main
248 db_servers_flair = main
1861a04 fixed sorting issue where the global sorts were being overwritten. ad…
Steve Huffman authored
249
e683889 @jedberg New Features
jedberg authored
250
251 ## -- traffic analytics --
252 # google analytics token
253 googleanalytics =
254 # machine to get traffic metrics from
255 traffic_url = http://localhost:8010/tracker/pickle/
256 # secret used for talking to the traffic machine
257 tracking_secret = abcdefghijklmnopqrstuvwxyz0123456789
258
259
260 ## -- Self-service sponsored link stuff --
261 # (secure) payment domain
172f869 Add an example subdomain for payment_domain in example.ini.
Max Goodman authored
262 payment_domain = https://pay.reddit.local/
7fff900 @ketralnis February 2011 Merge
ketralnis authored
263 ad_domain = http://reddit.local
264 allowed_pay_countries = United States, United Kingdom, Canada
253c473 @jedberg * Add services and scripts to public repos for ease of reddit instal…
jedberg authored
265 sponsors =
7fff900 @ketralnis February 2011 Merge
ketralnis authored
266
267 # authorize.net credentials (blank authorizenetapi to disable)
268 authorizenetapi =
269 # authorizenetapi = https://api.authorize.net/xml/v1/request.api
e683889 @jedberg New Features
jedberg authored
270 authorizenetname =
271 authorizenetkey =
7fff900 @ketralnis February 2011 Merge
ketralnis authored
272
e683889 @jedberg New Features
jedberg authored
273 min_promote_bid = 20
274 max_promote_bid = 9999
275 min_promote_future = 2
276
277 # -- spreadshirt --
278 spreadshirt_url =
279 spreadshirt_vendor_id =
280 spreadshirt_min_font = 42
281 spreadshirt_max_width = 620
282 spreadshirt_test_font =
283
284
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
285 ###
286 # Other magic settings
287 ###
288
e683889 @jedberg New Features
jedberg authored
289 # list of cnames allowed to render as reddit.com without a frame
290 authorized_cnames =
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
291
e683889 @jedberg New Features
jedberg authored
292 # -- query cache settings --
293 num_query_queue_workers = 5
294 query_queue_worker = http://cslowe.local:8000
295 enable_doquery = True
7fff900 @ketralnis February 2011 Merge
ketralnis authored
296 use_query_cache = True
e683889 @jedberg New Features
jedberg authored
297 write_query_queue = True
fbe867e @spladug Implement new lockless query cache.
spladug authored
298 querycache_prune_chance = 0.05
1861a04 fixed sorting issue where the global sorts were being overwritten. ad…
Steve Huffman authored
299
e683889 @jedberg New Features
jedberg authored
300 # -- stylesheet editor --
301 # disable custom stylesheets
302 css_killswitch = False
303 # list of "trusted" domains that can be referenced in url()
304 allowed_css_linked_domains = static.reddit.com, www.reddit.com, reallystatic.reddit.com
305 # max number of uploaded images per subreddit
306 max_sr_images = 50
307 # default stylesheet and it's rtl version
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
308 stylesheet = reddit.css
e683889 @jedberg New Features
jedberg authored
309 stylesheet_rtl = reddit-rtl.css
310 # location of the static directory
311 static_path = /static/
50a5daa @spladug Allow static files to be served from other domains.
spladug authored
312 # if set, these are the domains used for static files served over http and https
313 # if not set, no domain will be specified
314 static_domain =
315 static_secure_domain =
316 # if this is true, append .gz to CSS and JS files served from the static domain
317 # this is for hosts that don't do on-the-fly gzipping (e.g. s3)
318 static_pre_gzipped = false
319 static_secure_pre_gzipped = false
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
320
7fff900 @ketralnis February 2011 Merge
ketralnis authored
321 # make frontpage 100% dart
322 frontpage_dart = false
323
e683889 @jedberg New Features
jedberg authored
324 # -- translator UI --
325 # enable/disable access to the translation UI in /admin/i18n
326 translator = true
327 # reddit runs the translator UI on a different instance with a
328 # password to login. These settings are used when generating messages
329 # to translators to tell them their credentials
330 translator_username =
331 translator_password =
6bcef00 @ketralnis 1. Allow a reddit to have a cname, like www.proggit.com, that renders
ketralnis authored
332
e683889 @jedberg New Features
jedberg authored
333 # subreddit used for DMCA takedowns
5ef76b9 @KeyserSosa New features:
KeyserSosa authored
334 takedown_sr = _takedowns
e683889 @jedberg New Features
jedberg authored
335 # png compressor
336 png_optimizer = /usr/bin/env optipng
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
337
e683889 @jedberg New Features
jedberg authored
338 # -- search --
339 # where is solor?
340 solr_url =
341 # how long do we cache search results (in seconds)
f6fbb05 @ketralnis Cache solr query results for a short time. Speeds up domain listings …
ketralnis authored
342 solr_cache_time = 300
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
343
e683889 @jedberg New Features
jedberg authored
344 # Just a list of words. Used by errlog.py to make up names for new errors.
345 words_file = /usr/dict/words
2869eaf @ketralnis New features:
ketralnis authored
346
e683889 @jedberg New Features
jedberg authored
347 # -- media stuff --
348 # user agent for the scraper
349 useragent = Mozilla/5.0 (compatible; redditbot/1.0; +http://www.reddit.com/feedback)
4653c16 @andre-d Split thumbnails and sr images across multiple buckets.
andre-d authored
350
351 # The storage method to use for media
352 # Options:
353 # s3 - Uses Amazon S3 to upload media to buckets
354 media_store = s3
355
e683889 @jedberg New Features
jedberg authored
356 # your s3 credentials
357 S3KEY_ID =
358 S3SECRET_KEY =
4653c16 @andre-d Split thumbnails and sr images across multiple buckets.
andre-d authored
359
360 # This bucket is used for old media, new installs may leave this blank
361 s3_old_thumb_bucket =
362
363 # May be one bucket, or many buckets seperated by commas
364 s3_media_buckets =
365
366 # Store direct urls for images, rather than buckets
367 # For the bucket mybucket with the image helloworld.jpg the stored url would be:
368 # true: http://s3.amazonaws.com/mybucket/helloworld.jpg
369 # false: http://mybucket/helloworld.jpg
370 s3_media_direct = true
371
e683889 @jedberg New Features
jedberg authored
372 media_domain = localhost
4b9fee7 @screeley Use an API key for the embed.ly API.
screeley authored
373 # Embedly API Key
374 embedly_api_key =
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
375
e683889 @jedberg New Features
jedberg authored
376 # -- limits --
377 # rate limiter duration (minutes)
378 RATELIMIT = 10
379 # minimum display karma
380 MIN_UP_KARMA = 1
381 MIN_RATE_LIMIT_KARMA = 10
382 MIN_RATE_LIMIT_COMMENT_KARMA = 1
383 QUOTA_THRESHOLD = 5
0ae8f2f @ketralnis 21 Jul 2010 merge
ketralnis authored
384 # Links and comments older than this many days qualify for historic preservation
385 REPLY_AGE_LIMIT = 180
68a06c5 @spladug April 2011 Merge
spladug authored
386 # Links and comments older than this many days can't be voted on
387 VOTE_AGE_LIMIT = 180
63d518f Make min age for subreddit creation configurable.
gabe authored
388 # minimum age, in days, of an account to be eligible to create a community
389 min_membership_create_community = 30
a42505c @spladug Keep admin cookie around if actively used.
spladug authored
390 # the maximum life of an admin cookie (seconds)
391 ADMIN_COOKIE_TTL = 32400
392 # the maximum amount of idle time for an admin cookie (seconds)
393 ADMIN_COOKIE_MAX_IDLE = 900
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
394
e683889 @jedberg New Features
jedberg authored
395 # min amount of karma to edit
396 WIKI_KARMA = 100
2de837f New help system and footer
Mike authored
397
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
398 # time in days
399 MODWINDOW = 2
e683889 @jedberg New Features
jedberg authored
400 HOT_PAGE_AGE = 1000
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
401
e683889 @jedberg New Features
jedberg authored
402 # -- display options --
403 # how long to consider links eligible for the rising page
bcca862 add media features
shuffman authored
404 rising_period = 12 hours
e683889 @jedberg New Features
jedberg authored
405 # max number of comments (default)
37e2ba9 @ketralnis * Combine cassandra clusters into a single one
ketralnis authored
406 num_comments = 100
407 # max number of comments (non-gold)
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
408 max_comments = 500
37e2ba9 @ketralnis * Combine cassandra clusters into a single one
ketralnis authored
409 # max number of comments (gold)
410 max_comments_gold = 2500
e683889 @jedberg New Features
jedberg authored
411 # list of reddits to auto-subscribe users to
412 automatic_reddits =
0ae8f2f @ketralnis 21 Jul 2010 merge
ketralnis authored
413 # special reddit that only reddit gold subscribers can use
414 lounge_reddit =
e683889 @jedberg New Features
jedberg authored
415 # cutoff number of reddits to show unsubscribed users
0745f5b @KeyserSosa make 1/2 of the default reddits English reddits if the user hasn't se…
KeyserSosa authored
416 num_default_reddits = 10
e683889 @jedberg New Features
jedberg authored
417 # how deep do we go into the top listing when fetching /random
418 num_serendipity = 250
852b989 srbar updates
Mike authored
419 sr_dropdown_threshold = 15
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
420
37e2ba9 @ketralnis * Combine cassandra clusters into a single one
ketralnis authored
421 # Conflate visits to a comment page that happen within this many
422 # seconds of each other
423 comment_visits_period = 600
424
e683889 @jedberg New Features
jedberg authored
425 #user-agents to rate-limit
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
426 agents =
427
e683889 @jedberg New Features
jedberg authored
428 # -- email --
429 # smtp server
430 smtp_server = localhost
431 # delay before allowing a link to be shared
432 new_link_share_delay = 30 seconds
433 # alerter emails
434 nerds_email = nerds@reddit.com
435 # share reply email
436 share_reply = noreply@reddit.com
437 # feedback email
438 feedback_email = reddit@gmail.com
7ce107f @KeyserSosa sharing
KeyserSosa authored
439
51bcbfb @bsimpson63 Method _key_from_url() now returns case sensitive results for special…
bsimpson63 authored
440 # Special case sensitive domains
441 case_sensitive_domains = i.imgur.com, youtube.com
442
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
443 [server:main]
444 use = egg:Paste#http
445 host = 0.0.0.0
e683889 @jedberg New Features
jedberg authored
446 port = %(http_port)s
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
447
448 [app:main]
449 use = egg:r2
450 cache_dir = %(here)s/data
451 beaker.session_key = r2
452 beaker.session_secret = somesecret
453 #lang = en
454
455 # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
456 # Debug mode will enable the interactive debugging tool, allowing ANYONE to
457 # execute malicious code after an exception is raised.
0ae8f2f @ketralnis 21 Jul 2010 merge
ketralnis authored
458 #set debug = false
4778b17 @KeyserSosa initial checkin
KeyserSosa authored
459
4653c16 @andre-d Split thumbnails and sr images across multiple buckets.
andre-d authored
460
Something went wrong with that request. Please try again.