Guest User

Reddit Open Source - important development.update settings

a guest
Mar 24th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. # after editing this file, run "make ini" to
  2. # generate a new development.ini
  3.  
  4. [DEFAULT]
  5. # global debug flag -- displays pylons stacktrace rather than 500 page on error when true
  6. # WARNING: a pylons stacktrace allows remote code execution. Make sure this is false
  7. # if your server is publicly accessible.
  8. debug = false
  9. uncompressedJS = false
  10.  
  11. ## POSTGRES
  12. db_user = reddit
  13. db_pass = CHANGEME
  14.  
  15. short_description = you.com - welcome
  16.  
  17. disable_ads = true
  18. disable_captcha = true
  19. disable_require_admin_otp = true
  20.  
  21. domain = you.com
  22. oauth_domain = you.com
  23. https_endpoint = https://you.com
  24.  
  25. plugins =
  26. # plugins = about adzerk gold liveupdate private
  27. media_provider = filesystem
  28. media_fs_root = /srv/www/media
  29. media_fs_base_url_http = http://you.com/media/
  30. useragent = Mozilla/5.0 (compatible; redditbot/1.0; +http://you.com/feedback)
  31. known_image_domains = i.imgur.com, giant.gfycat.com, pbs.twimg.com, upload.wikimedia.org
  32.  
  33. ARCHIVE_AGE = 9999 days
  34. min_membership_create_community = 13
  35.  
  36. # domains that we consider URLs case sensitive for repost detection purposes
  37. case_sensitive_domains = i.imgur.com, youtube.com
  38. # Domains that we know are friendly and host raw image files
  39. known_image_domains = i.imgur.com, giant.gfycat.com, pbs.twimg.com, upload.wikimedia.org
  40.  
  41. SECRET = CHANGEME
  42. FEEDSECRET = CHANGEME
  43. ADMINSECRET = CHANGEME
  44. websocket = CHANGEME
  45. media_embed = CHANGEME
  46. action_name = CHANGEME
  47. email_notifications = CHANGEME
  48. cache_poisoning = CHANGEME
  49. adserver_click_url_secret = CHANGEME
  50. modmail_email_secret = CHANGEME
  51. request_signature_secret = CHANGEME
  52. tracking_secret = CHANGEME
  53.  
  54. ## THRESHOLDS
  55. # LOW TRAFFIC CUSTOMIZATION, default is 12 hours
  56. # how long to consider links eligible for the rising page
  57. rising_period = 5 days
  58.  
  59. ## RATE LIMIT
  60. disable_ratelimit = false
  61. RL_RESET_MINUTES = 3
  62. RL_AVG_REQ_PER_SEC = 1.5
  63. MIN_RATE_LIMIT_KARMA = 1
  64. MIN_RATE_LIMIT_COMMENT_KARMA = 1
  65.  
  66. [server:main]
  67. port = 8001
  68.  
  69. [live_config]
  70. # Force the use of HTTPS (tell apps we want HTTPS connections only, use `Secure` cookies).
  71. feature_force_https = on
  72.  
  73. # Specify global admins and permissions, each user should have one of admin, sponsor, or employee as their permission level
  74. employees = reddit:admin, YOU
  75. # sample multireddits (displayed when a user has no multis)
  76. listing_chooser_sample_multis = /user/reddit/m/hello, /user/reddit/m/world
  77.  
  78. # a message placed in the infobar (all pages)
  79. # announcement_message = The site is undergoing maintenance and may not be fully operational. Thanks for your patience.
  80.  
  81. # an info message placed in the sidebar (front page, profile page)
  82. # sidebar_message = ["sidebar_message 1", "sidebar message 2"]
  83.  
  84. # Changes the probability of the spotlight box appearing as a first post
  85. spotlight_interest_sub_p = 0
  86. spotlight_interest_nosub_p = 0
  87.  
  88. # Gets rid of the ad box at the top of the listings
  89. ad_probability = 0
  90.  
  91. create_sr_account_age_days = 13
  92. create_sr_link_karma = 0
  93. create_sr_comment_karma = 0
Add Comment
Please, Sign In to add comment